Trait ClientCompatFrom

Source
pub trait ClientCompatFrom<T>: Sized {
    // Required method
    fn client_compat_from(proxy: T) -> Client<Self, Channel>;
}
Expand description

Conversions between old and new Rust protocol bindings.

Required Methods§

Source

fn client_compat_from(proxy: T) -> Client<Self, Channel>

Converts proxy into a Client for this protocol.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§