Struct etcd::stats::CountStats [] [src]

pub struct CountStats {
    pub fail: u64,
    pub success: u64,
}

Statistics about the number of successful and failed Raft RPC requests to an etcd node.

Fields

fail

The number of times an RPC request to the node failed.

success

The number of times an RPC request to the node succeeded.

Trait Implementations

impl Deserialize for CountStats

fn deserialize<__D>(deserializer: &mut __D) -> Result<CountStats, __D::Error> where __D: Deserializer

Derived Implementations

impl Debug for CountStats

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for CountStats

fn clone(&self) -> CountStats

1.0.0fn clone_from(&mut self, source: &Self)