pub struct GlobalStatsSnapshot {
pub uptime_ms: u64,
pub shard_count: usize,
pub total_keys: usize,
pub total_reads: u64,
pub total_writes: u64,
pub total_deletes: u64,
pub total_expired: u64,
pub shards: Vec<ShardStatsSnapshot>,
pub wal: WalStatsSnapshot,
}Fields§
§uptime_ms: u64§shard_count: usize§total_keys: usize§total_reads: u64§total_writes: u64§total_deletes: u64§total_expired: u64§shards: Vec<ShardStatsSnapshot>§wal: WalStatsSnapshotTrait Implementations§
Source§impl Clone for GlobalStatsSnapshot
impl Clone for GlobalStatsSnapshot
Source§fn clone(&self) -> GlobalStatsSnapshot
fn clone(&self) -> GlobalStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GlobalStatsSnapshot
impl Debug for GlobalStatsSnapshot
Source§impl Default for GlobalStatsSnapshot
impl Default for GlobalStatsSnapshot
Source§fn default() -> GlobalStatsSnapshot
fn default() -> GlobalStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlobalStatsSnapshot
impl RefUnwindSafe for GlobalStatsSnapshot
impl Send for GlobalStatsSnapshot
impl Sync for GlobalStatsSnapshot
impl Unpin for GlobalStatsSnapshot
impl UnsafeUnpin for GlobalStatsSnapshot
impl UnwindSafe for GlobalStatsSnapshot
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