Struct snarkos_metrics::snapshots::NodeHandshakeStats [−][src]
pub struct NodeHandshakeStats { pub failures_init: u64, pub failures_resp: u64, pub successes_init: u64, pub successes_resp: u64, pub timeouts_init: u64, pub timeouts_resp: u64, }
Fields
failures_init: u64
The number of failed handshakes as the initiator.
failures_resp: u64
The number of failed handshakes as the responder.
successes_init: u64
The number of successful handshakes as the initiator.
successes_resp: u64
The number of successful handshakes as the responder.
timeouts_init: u64
The number of handshake timeouts as the initiator.
timeouts_resp: u64
The number of handshake timeouts as the responder.
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 NodeHandshakeStats
impl Send for NodeHandshakeStats
impl Sync for NodeHandshakeStats
impl Unpin for NodeHandshakeStats
impl UnwindSafe for NodeHandshakeStats
Blanket Implementations
Mutably borrows from an owned value. Read more