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
Auto Trait Implementations
impl !RefUnwindSafe for KnownPeers
impl Send for KnownPeers
impl Sync for KnownPeers
impl Unpin for KnownPeers
impl UnwindSafe for KnownPeers
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more