Struct pea2pea::KnownPeers [−][src]
pub struct KnownPeers(_);
Expand description
Contains statistics related to node’s peers, currently connected or not.
Implementations
Adds an address to the list of known peers.
Removes an address to the list of known peers.
Registers a connection to the given address.
Registers a submission of a message to the given address.
Registers a receipt of a message to the given address.
Registers a failure associated with the given address.
Acquires a read lock over the collection of known peers.
Acquires a write lock over the collection of known peers.
Trait Implementations
Returns the “default value” for a type. Read more