pub struct LocalCacheStats {
pub hits: u64,
pub misses: u64,
pub size: u64,
}Expand description
Cache statistics
Fields§
§hits: u64Number of cache hits
misses: u64Number of cache misses
size: u64Current cache size
Trait Implementations§
Source§impl Clone for LocalCacheStats
impl Clone for LocalCacheStats
Source§fn clone(&self) -> LocalCacheStats
fn clone(&self) -> LocalCacheStats
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 LocalCacheStats
impl RefUnwindSafe for LocalCacheStats
impl Send for LocalCacheStats
impl Sync for LocalCacheStats
impl Unpin for LocalCacheStats
impl UnwindSafe for LocalCacheStats
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