Struct snarkos_metrics::snapshots::NodeConnectionStats [−][src]
pub struct NodeConnectionStats { pub all_accepted: u64, pub all_initiated: u64, pub all_rejected: u64, pub connecting_peers: u32, pub connected_peers: u32, pub disconnected_peers: u32, }
Fields
all_accepted: u64
The number of all connections the node has accepted.
all_initiated: u64
The number of all connections the node has initiated.
all_rejected: u64
The number of rejected inbound connection requests.
connecting_peers: u32
Number of currently connecting peers.
connected_peers: u32
Number of currently connected peers.
disconnected_peers: u32
Number of known disconnected peers.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NodeConnectionStats
impl Send for NodeConnectionStats
impl Sync for NodeConnectionStats
impl Unpin for NodeConnectionStats
impl UnwindSafe for NodeConnectionStats
Blanket Implementations
Mutably borrows from an owned value. Read more