Struct etcd::stats::StoreStats

source ·
pub struct StoreStats {
Show 16 fields pub compare_and_delete_fail: u64, pub compare_and_delete_success: u64, pub compare_and_swap_fail: u64, pub compare_and_swap_success: u64, pub create_fail: u64, pub create_success: u64, pub delete_fail: u64, pub delete_success: u64, pub expire_count: u64, pub get_fail: u64, pub get_success: u64, pub set_fail: u64, pub set_success: u64, pub update_fail: u64, pub update_success: u64, pub watchers: u64,
}
Expand description

Statistics about the operations handled by an etcd member.

Fields§

§compare_and_delete_fail: u64

The number of failed compare and delete operations.

§compare_and_delete_success: u64

The number of successful compare and delete operations.

§compare_and_swap_fail: u64

The number of failed compare and swap operations.

§compare_and_swap_success: u64

The number of successful compare and swap operations.

§create_fail: u64

The number of failed create operations.

§create_success: u64

The number of successful create operations.

§delete_fail: u64

The number of failed delete operations.

§delete_success: u64

The number of successful delete operations.

§expire_count: u64

The number of expire operations.

§get_fail: u64

The number of failed get operations.

§get_success: u64

The number of successful get operations.

§set_fail: u64

The number of failed set operations.

§set_success: u64

The number of successful set operations.

§update_fail: u64

The number of failed update operations.

§update_success: u64

The number of successful update operations.

§watchers: u64

The number of watchers.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.