[][src]Crate sn_messaging

Structs

MessageId

Unique ID for messages.

MsgEnvelope

Message envelope containing a Safe message payload, sender, and the list of proxies the message could have been gone through with their signatures. This struct also provides utilities to obtain the serialised bytes ready to send them over the wire. The serialised bytes contain information about messaging protocol version, serialisation style used for the payload (e.g. Json), and/or any other information required by the receiving end to either deserialise it, or detect any incompatibility.

MsgSender

A msg sender in the larger network (clients + nodes), provides its identification by specifying type of entity, and providing a signature over it.

TransientElderKey

An identifier of an Elder, as of a specific Elder constellation, thereby making it transient.

TransientSectionKey

An identifier of a section, as of a specific Elder constellation, thereby making it transient.

Enums

Address
AdultDuties

Duties of an Adult.

AuthorisationKind

The kind of authorisation needed for a request.

BlobRead

TODO: docs

BlobWrite

TODO: docs

Cmd

Command messages for data or transfer operations

CmdError
DataAuthKind

Authorisation for data requests.

DataCmd

Data command operations. Creating, updating or removing data

DataQuery

TODO: docs

Duty
ElderDuties

Duties of an Elder.

Error

Main error type for the crate.

Event

Events from the network that are pushed to the client.

MapRead

TODO: docs

MapWrite

TODO: docs

Message
MiscAuthKind

Miscellaneous authorisation kinds. NB: Not very well categorized yet

MoneyAuthKind

Authorisation for money requests.

NodeCmd
NodeCmdError
NodeDataCmd
NodeDataError
NodeDataQuery
NodeDataQueryResponse
NodeDuties

Duties of a Node.

NodeEvent
NodeQuery
NodeQueryResponse
NodeRewardError
NodeRewardQuery

Reward query that is sent between sections.

NodeRewardQueryResponse
NodeSystemCmd

Cmds related to the running of a node.

NodeTransferCmd
NodeTransferError
NodeTransferQuery
NodeTransferQueryResponse
Query

TODO: docs

QueryResponse

Query responses from the network.

SequenceRead

TODO: docs

SequenceWrite

TODO: docs

TransferCmd

Money cmd that is sent to network.

TransferError
TransferQuery

Money query that is sent to network.

TryFromError

Error type for an attempted conversion from QueryResponse to a type implementing TryFrom<Response>.

Type Definitions

Result

A specialised Result type for safecoin.