Enum rabble::ConnectionMsg [] [src]

pub enum ConnectionMsg<C: ConnectionHandler> {
    Envelope(Envelope<C::Msg>),
    Client(C::ClientMsgCorrelationId),
}

Connection messages are returned from the callback functions for a Connection.

These messages can be either an envelope as gets used in the rest of the system or a message specific to this service that can be serialized and sent to a client on the other end of the connection.

Variants