Struct snarkos_metrics::snapshots::NodeStats [−][src]
pub struct NodeStats { pub inbound: NodeInboundStats, pub outbound: NodeOutboundStats, pub connections: NodeConnectionStats, pub handshakes: NodeHandshakeStats, pub queues: NodeQueueStats, pub misc: NodeMiscStats, }
Expand description
Returned value for the getnodestats
rpc call
Fields
inbound: NodeInboundStats
Stats related to messages received by the node.
outbound: NodeOutboundStats
Stats related to messages sent by the node.
connections: NodeConnectionStats
Stats related to the node’s connections.
handshakes: NodeHandshakeStats
Stats related to the node’s handshakes.
queues: NodeQueueStats
Stats related to the node’s queues.
misc: NodeMiscStats
Miscellaneous stats related to the node.
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
Auto Trait Implementations
impl RefUnwindSafe for NodeStats
impl UnwindSafe for NodeStats
Blanket Implementations
Mutably borrows from an owned value. Read more