pub struct StatsSnapshot {Show 27 fields
pub record_count: u32,
pub memory_usage: usize,
pub total_operations: u64,
pub total_gets: u64,
pub total_inserts: u64,
pub total_updates: u64,
pub total_deletes: u64,
pub total_range_queries: u64,
pub avg_get_latency_ns: u64,
pub avg_insert_latency_ns: u64,
pub avg_delete_latency_ns: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub cache_hit_rate: f64,
pub cache_evictions: u64,
pub cache_memory: usize,
pub writes_buffered: u64,
pub writes_flushed: u64,
pub write_failures: u64,
pub flush_count: u64,
pub disk_reads: u64,
pub disk_writes: u64,
pub disk_bytes_read: u64,
pub disk_bytes_written: u64,
pub key_not_found_errors: u64,
pub out_of_memory_errors: u64,
pub io_errors: u64,
}
Expand description
Snapshot of statistics at a point in time
Fields§
§record_count: u32
§memory_usage: usize
§total_operations: u64
§total_gets: u64
§total_inserts: u64
§total_updates: u64
§total_deletes: u64
§total_range_queries: u64
§avg_get_latency_ns: u64
§avg_insert_latency_ns: u64
§avg_delete_latency_ns: u64
§cache_hits: u64
§cache_misses: u64
§cache_hit_rate: f64
§cache_evictions: u64
§cache_memory: usize
§writes_buffered: u64
§writes_flushed: u64
§write_failures: u64
§flush_count: u64
§disk_reads: u64
§disk_writes: u64
§disk_bytes_read: u64
§disk_bytes_written: u64
§key_not_found_errors: u64
§out_of_memory_errors: u64
§io_errors: u64
Implementations§
Trait Implementations§
Source§impl Clone for StatsSnapshot
impl Clone for StatsSnapshot
Source§fn clone(&self) -> StatsSnapshot
fn clone(&self) -> StatsSnapshot
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 moreAuto Trait Implementations§
impl Freeze for StatsSnapshot
impl RefUnwindSafe for StatsSnapshot
impl Send for StatsSnapshot
impl Sync for StatsSnapshot
impl Unpin for StatsSnapshot
impl UnwindSafe for StatsSnapshot
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