pub struct L1Stats {
pub l1_hits: u64,
pub l2_hits: u64,
pub misses: u64,
pub l1_enabled: bool,
}Expand description
Snapshot of L1/L2 cache hit statistics.
Fields§
§l1_hits: u64Number of requests served from the L1 in-process cache.
l2_hits: u64Number of requests served from the L2 backend.
misses: u64Number of cache misses.
l1_enabled: boolWhether the L1 cache is currently enabled.
Auto Trait Implementations§
impl Freeze for L1Stats
impl RefUnwindSafe for L1Stats
impl Send for L1Stats
impl Sync for L1Stats
impl Unpin for L1Stats
impl UnsafeUnpin for L1Stats
impl UnwindSafe for L1Stats
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