pub struct CacheStatsSnapshot {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub entries: u64,
}Expand description
Snapshot of cache statistics
Fields§
§hits: u64Number of cache hits
misses: u64Number of cache misses
evictions: u64Number of cache evictions
entries: u64Number of cache entries
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 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