pub struct TierStats {
pub tier_level: usize,
pub hits: AtomicU64,
pub backend_name: String,
}Expand description
Statistics for a single cache tier
Fields§
§tier_level: usizeTier level (1 = L1, 2 = L2, 3 = L3, etc.)
hits: AtomicU64Number of cache hits at this tier
backend_name: StringBackend name for identification
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TierStats
impl RefUnwindSafe for TierStats
impl Send for TierStats
impl Sync for TierStats
impl Unpin for TierStats
impl UnwindSafe for TierStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)