Trait RpcProtocol

Source
pub trait RpcProtocol<T: RpcProtocol = Self> {
    // Required methods
    fn get_protocol_info() -> &'static ProtocolInfo;
    fn from(invoker: Invoker<T>) -> Self;
}

Required Methods§

Source

fn get_protocol_info() -> &'static ProtocolInfo

Source

fn from(invoker: Invoker<T>) -> Self

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§