#[non_exhaustive]pub struct CacheStats {
pub memory_hits: u64,
pub disk_hits: u64,
pub derived_hits: u64,
pub inflates: u64,
pub skipped: u64,
}Expand description
Cache activity counters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.memory_hits: u64Entries served from the in-memory LRU.
disk_hits: u64Entries mapped from the disk cache (L1) instead of inflated.
derived_hits: u64Derived indexes mapped from L2: the locator tables of a logical DEX, and the class graph.
inflates: u64Entries inflated from the APK.
skipped: u64Deflate entries a search left out: a streamed prefix showed it could not match them, so they were never inflated whole.
Trait Implementations§
Source§impl Clone for CacheStats
impl Clone for CacheStats
impl Copy for CacheStats
Source§impl Debug for CacheStats
impl Debug for CacheStats
Source§impl Default for CacheStats
impl Default for CacheStats
impl Eq for CacheStats
Source§impl PartialEq for CacheStats
impl PartialEq for CacheStats
impl StructuralPartialEq for CacheStats
Auto Trait Implementations§
impl Forget for CacheStats
impl Freeze for CacheStats
impl Move for CacheStats
impl RefUnwindSafe for CacheStats
impl Send for CacheStats
impl Sync for CacheStats
impl Unpin for CacheStats
impl UnsafeUnpin for CacheStats
impl UnwindSafe for CacheStats
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