Struct libp2p_core::connection::ConnectionCounters [−][src]
pub struct ConnectionCounters { /* fields omitted */ }Network connection information.
Implementations
impl ConnectionCounters[src]
impl ConnectionCounters[src]pub fn limits(&self) -> &ConnectionLimits[src]
The effective connection limits.
pub fn num_connections(&self) -> u32[src]
The total number of connections, both pending and established.
pub fn num_pending(&self) -> u32[src]
The total number of pending connections, both incoming and outgoing.
pub fn num_pending_incoming(&self) -> u32[src]
The number of incoming connections being established.
pub fn num_pending_outgoing(&self) -> u32[src]
The number of outgoing connections being established.
pub fn num_established_incoming(&self) -> u32[src]
The number of established incoming connections.
pub fn num_established_outgoing(&self) -> u32[src]
The number of established outgoing connections.
pub fn num_established(&self) -> u32[src]
The total number of established connections.
Trait Implementations
impl Clone for ConnectionCounters[src]
impl Clone for ConnectionCounters[src]fn clone(&self) -> ConnectionCounters[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectionCounters
impl RefUnwindSafe for ConnectionCountersimpl Send for ConnectionCounters
impl Send for ConnectionCountersimpl Sync for ConnectionCounters
impl Sync for ConnectionCountersimpl Unpin for ConnectionCounters
impl Unpin for ConnectionCountersimpl UnwindSafe for ConnectionCounters
impl UnwindSafe for ConnectionCounters