pub struct MemoryStoreStats {
pub hits: u64,
pub misses: u64,
pub insertions: u64,
pub removals: u64,
pub evictions: u64,
}Expand description
Statistics for a memory store.
Fields§
§hits: u64Number of cache hits.
misses: u64Number of cache misses.
insertions: u64Number of insertions.
removals: u64Number of removals.
evictions: u64Number of evictions due to capacity limits.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryStoreStats
impl Clone for MemoryStoreStats
Source§fn clone(&self) -> MemoryStoreStats
fn clone(&self) -> MemoryStoreStats
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 moreSource§impl Debug for MemoryStoreStats
impl Debug for MemoryStoreStats
Source§impl Default for MemoryStoreStats
impl Default for MemoryStoreStats
Source§fn default() -> MemoryStoreStats
fn default() -> MemoryStoreStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryStoreStats
impl RefUnwindSafe for MemoryStoreStats
impl Send for MemoryStoreStats
impl Sync for MemoryStoreStats
impl Unpin for MemoryStoreStats
impl UnsafeUnpin for MemoryStoreStats
impl UnwindSafe for MemoryStoreStats
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