Module safe_network::messaging[][src]

Expand description

The messaging interface to the network. Messages sent and serialised in line with this module should be acted upon by the network.

Re-exports

pub use self::location::Aggregation;
pub use self::location::DstLocation;
pub use self::location::EndUser;
pub use self::location::Itinerary;
pub use self::location::SrcLocation;
pub use self::sap::SectionAuthorityProvider;
pub use self::serialisation::WireMsg;

Modules

Messages to/from the client Client messaging.

Source and destination structs for messages

Node to node messages

SectionAuthorityProvider

Queries and responses for section info

Functionality for serialising and deserialising messages

Structs

This is information kept by ‘MessageType’ so it can be properly serialised with a valid ‘WireMsgHeader’

Unique ID for messages.

Enums

Error messages across the network

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.

Constants

Constant byte length of MessageId.

Type Definitions

A specialised Result type for safecoin.