Trait meio_protocol::Protocol[][src]

pub trait Protocol: Send + 'static {
    type ToServer: ProtocolData;
    type ToClient: ProtocolData;
    type Codec: ProtocolCodec;
}
Expand description

The set of types for provide interaction capabilities for parties.

Associated Types

The message type sent to a server (from a client).

The message type sent to a client (from a server).

The codec (serialization format) used to pack and unpack messages.

Implementors