Module safe_network::messaging::data[][src]

Expand description

Data messages that clients and nodes can send. Messages that clients can send to the network, and their possible responses.

See [ClientMsg] for message definitions.

Structs

Chunk data exchange.

Information about a chunk.

Aggregate of chunk, map, and sequence data exchanges.

Information about a holder.

A Map write operation.

Map data exchange.

A response indicating that the recipient was unable to process a client’s message.

A Register write operation.

Register data exchange.

A Sequence write operation.

Sequence data exchange.

A response indicating that the recipient was unable to process a client’s message due to out of date information.

Enums

Chunk read operations.

Chunk write operations.

An error response to a Cmd.

Data commands - creating, updating, or removing data.

Messages that a client can send to the network, and their possible responses.

Data queries - retrieving data and inspecting their structure.

Errors that can occur when interactive with client messaging APIs.

Events from the network that are pushed to the client.

Map read operation.

Map write operations.

Messages that a client can send to the network, and their possible responses.

The response to a query, containing the query result.

Register read operations.

Register write operations.

Sequence read operations.

Sequence write operations.

Various types of supporting information that can be received and acted upon by a node.

Error type for an attempted conversion from a QueryResponse variant to an expected wrapped value.

Type Definitions

A specialised Result type.