pub struct CacheStatsSnapshot {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub expirations: u64,
pub updates: u64,
pub indication_updates: u64,
pub write_updates: u64,
}Expand description
Immutable snapshot of cache statistics.
Fields§
§hits: u64§misses: u64§evictions: u64§expirations: u64§updates: u64§indication_updates: u64§write_updates: u64Implementations§
Trait Implementations§
Source§impl Clone for CacheStatsSnapshot
impl Clone for CacheStatsSnapshot
Source§fn clone(&self) -> CacheStatsSnapshot
fn clone(&self) -> CacheStatsSnapshot
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 CacheStatsSnapshot
impl RefUnwindSafe for CacheStatsSnapshot
impl Send for CacheStatsSnapshot
impl Sync for CacheStatsSnapshot
impl Unpin for CacheStatsSnapshot
impl UnsafeUnpin for CacheStatsSnapshot
impl UnwindSafe for CacheStatsSnapshot
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