Skip to main content

Module network

Module network 

Source
Expand description

Network transport abstractions for MDCS synchronization.

Structs§

MemoryTransport
In-memory transport for testing and simulation.
Peer
Information about a connected peer.
PeerId
Unique identifier for a peer.

Enums§

Message
Messages exchanged between peers.
NetworkError
Network error type.
PeerState
Peer connection state.

Traits§

NetworkTransport
Abstract network transport trait.

Functions§

create_network
Create a fully connected in-memory transport network.