Crate middleman [] [src]

Structs

Middleman
PackedMessage

This structure represents the serialized form of some Message-implementing structure. Dealing with a PackedMessage may be suitable when: (1) You need to send/store/receive a message but don't need to actually use it yourself. (2) You want to serialize a message once, and send it multiple times. (3) You want to read and discard a message whose type is unknown.

Enums

PackingError

Error enum which arise from failing to pack a structure implementing Message

RecvError

Error enum which arise from failing to receive a Message with a Middleman.

SendError

Error enum which arise from failing to send a Message with a Middleman.

Traits

Message

This marker trait must be implemented for any structure intended for sending using a Middleman send or recv.