Module peers_reliable

Source
Expand description

Implements a connection manager for communication with other federation members

The main interface is fedimint_core::net::peers::IPeerConnections and its main implementation is ReconnectPeerConnectionsReliable, see these for details.

Structs§

PeerMessage
Internal message type for ReconnectPeerConnectionsReliable, just public because it appears in the public interface.
PeerStatusChannels
Keeps the references to a PeerStatusChannelSender for each PeerId, which can be used to ask the corresponding PeerConnectionStateMachine for the current PeerConnectionStatus
ReconnectPeerConnectionsReliable
Connection manager that automatically reconnects to peers

Type Aliases§

PeerConnector
Owned Connector trait object used by ReconnectPeerConnectionsReliable