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.
Returns the list of all known peers and their stats.
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.
Trait Implementations
Returns the “default value” for a type. Read more