Module safe_network::messaging::serialisation[][src]

Expand description

The wire format and message (de)serialization API.

Structs

In order to send a message over the wire, it needs to be serialized along with a header (WireMsgHeader) which contains the information needed by the recipient to properly deserialize it. The WireMsg struct provides the utilities to serialize and deserialize messages.

Enums

Type of message. Note this is part of this crate’s public API but this enum is never serialised or even part of the message that is sent over the wire.

Authority of a NodeMsg. Src of message and authority to send it. Authority is validated by the signature.