pub struct ReplicationStats {
pub total_keys: usize,
pub fully_replicated: usize,
pub under_replicated: usize,
pub pending_tasks: usize,
pub total_replicas: usize,
}Expand description
Summary statistics for the replication sub-system
Fields§
§total_keys: usize§fully_replicated: usize§under_replicated: usize§pending_tasks: usize§total_replicas: usizeTrait Implementations§
Source§impl Clone for ReplicationStats
impl Clone for ReplicationStats
Source§fn clone(&self) -> ReplicationStats
fn clone(&self) -> ReplicationStats
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 ReplicationStats
impl Debug for ReplicationStats
Source§impl Default for ReplicationStats
impl Default for ReplicationStats
Source§fn default() -> ReplicationStats
fn default() -> ReplicationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplicationStats
impl RefUnwindSafe for ReplicationStats
impl Send for ReplicationStats
impl Sync for ReplicationStats
impl Unpin for ReplicationStats
impl UnsafeUnpin for ReplicationStats
impl UnwindSafe for ReplicationStats
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