pub struct Stats {
pub miss_count: u64,
pub hit_count: u64,
pub eviction_count: u64,
pub millis_elapsed: u128,
}
Expand description
Cache performance statistics.
Fields§
§miss_count: u64
§hit_count: u64
§eviction_count: u64
§millis_elapsed: u128
Trait Implementations§
Source§impl Ord for Stats
impl Ord for Stats
Source§impl PartialOrd for Stats
impl PartialOrd for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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