pub struct TierStats {
pub tier_level: usize,
pub hits: Arc<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: Arc<AtomicU64>Number 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§
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