pub struct StorageMetrics {
pub total_size_bytes: u64,
pub used_size_bytes: u64,
pub read_operations: u64,
pub write_operations: u64,
pub read_bytes_per_sec: f64,
pub write_bytes_per_sec: f64,
pub cache_hit_rate: f64,
pub io_latency_ms: f64,
}
Expand description
Storage performance metrics
Fields§
§total_size_bytes: u64
§used_size_bytes: u64
§read_operations: u64
§write_operations: u64
§read_bytes_per_sec: f64
§write_bytes_per_sec: f64
§cache_hit_rate: f64
§io_latency_ms: f64
Trait Implementations§
Source§impl Clone for StorageMetrics
impl Clone for StorageMetrics
Source§fn clone(&self) -> StorageMetrics
fn clone(&self) -> StorageMetrics
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 StorageMetrics
impl RefUnwindSafe for StorageMetrics
impl Send for StorageMetrics
impl Sync for StorageMetrics
impl Unpin for StorageMetrics
impl UnwindSafe for StorageMetrics
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