pub struct ReplicationStatistics {
pub total_nodes: usize,
pub healthy_nodes: usize,
pub total_replicas: usize,
pub total_operations: u64,
pub successful_operations: u64,
pub failed_operations: u64,
pub active_conflicts: usize,
pub avg_replication_lag_secs: f64,
pub total_bandwidth_bytes: u64,
}Expand description
Replication statistics
Fields§
§total_nodes: usizeTotal nodes
healthy_nodes: usizeHealthy nodes
total_replicas: usizeTotal replicas
total_operations: u64Total replication operations
successful_operations: u64Successful operations
failed_operations: u64Failed operations
active_conflicts: usizeActive conflicts
avg_replication_lag_secs: f64Average replication lag (seconds)
total_bandwidth_bytes: u64Total bandwidth used (bytes)
Trait Implementations§
Source§impl Clone for ReplicationStatistics
impl Clone for ReplicationStatistics
Source§fn clone(&self) -> ReplicationStatistics
fn clone(&self) -> ReplicationStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplicationStatistics
impl Debug for ReplicationStatistics
Source§impl Default for ReplicationStatistics
impl Default for ReplicationStatistics
Source§fn default() -> ReplicationStatistics
fn default() -> ReplicationStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplicationStatistics
impl<'de> Deserialize<'de> for ReplicationStatistics
Source§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 Freeze for ReplicationStatistics
impl RefUnwindSafe for ReplicationStatistics
impl Send for ReplicationStatistics
impl Sync for ReplicationStatistics
impl Unpin for ReplicationStatistics
impl UnsafeUnpin for ReplicationStatistics
impl UnwindSafe for ReplicationStatistics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more