Struct libp2p::core::network::NetworkInfo [−][src]
pub struct NetworkInfo { /* fields omitted */ }
Expand description
Information about the network obtained by Network::info()
.
Implementations
The number of connected peers, i.e. peers with whom at least one established connection exists.
Gets counters for ongoing network connections.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NetworkInfo
impl Send for NetworkInfo
impl Sync for NetworkInfo
impl Unpin for NetworkInfo
impl UnwindSafe for NetworkInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V