pub struct CacheHashDataStats {Show 14 fields
pub cache_file_size: AtomicUsize,
pub cache_file_count: AtomicUsize,
pub total_entries: AtomicUsize,
pub loaded_from_cache: AtomicUsize,
pub entries_loaded_from_cache: AtomicUsize,
pub save_us: AtomicU64,
pub saved_to_cache: AtomicUsize,
pub write_to_mmap_us: AtomicU64,
pub create_save_us: AtomicU64,
pub load_us: AtomicU64,
pub read_us: AtomicU64,
pub unused_cache_files: AtomicUsize,
pub hits: AtomicUsize,
pub misses: AtomicUsize,
}
Fields§
§cache_file_size: AtomicUsize
§cache_file_count: AtomicUsize
§total_entries: AtomicUsize
§loaded_from_cache: AtomicUsize
§entries_loaded_from_cache: AtomicUsize
§save_us: AtomicU64
§saved_to_cache: AtomicUsize
§write_to_mmap_us: AtomicU64
§create_save_us: AtomicU64
§load_us: AtomicU64
§read_us: AtomicU64
§unused_cache_files: AtomicUsize
§hits: AtomicUsize
the number of hash data files that were found in the cache and reused
misses: AtomicUsize
the number of hash data files that were not found in the cache
Implementations§
Trait Implementations§
source§impl Debug for CacheHashDataStats
impl Debug for CacheHashDataStats
source§impl Default for CacheHashDataStats
impl Default for CacheHashDataStats
source§fn default() -> CacheHashDataStats
fn default() -> CacheHashDataStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for CacheHashDataStats
impl RefUnwindSafe for CacheHashDataStats
impl Send for CacheHashDataStats
impl Sync for CacheHashDataStats
impl Unpin for CacheHashDataStats
impl UnwindSafe for CacheHashDataStats
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more