Module libp2p_core::network::peer
source · [−]Structs
The representation of a peer in a Network
to whom at least
one established connection exists. There may also be additional ongoing
dialing attempts to the peer.
A DialingAttempt
is an ongoing outgoing connection attempt to
a known / expected remote peer ID and a list of alternative addresses
to connect to, if the current connection attempt fails.
An iterator over the ongoing dialing attempts to a peer.
The representation of a peer in a Network
to whom a dialing
attempt is ongoing. There may already exist other established
connections to this peer.
The representation of a peer to whom the Network
has currently
neither an established connection, nor an ongoing dialing attempt
initiated by the local peer.