pub struct TierStatsSnapshot {
pub name: &'static str,
pub len: usize,
pub capacity: usize,
pub hits: u64,
pub misses: u64,
pub promotions: u64,
pub demotions: u64,
pub evictions: u64,
pub expirations: u64,
}Fields§
§name: &'static str§len: usize§capacity: usize§hits: u64§misses: u64§promotions: u64§demotions: u64§evictions: u64§expirations: u64Trait Implementations§
Source§impl Clone for TierStatsSnapshot
impl Clone for TierStatsSnapshot
Source§fn clone(&self) -> TierStatsSnapshot
fn clone(&self) -> TierStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TierStatsSnapshot
impl Debug for TierStatsSnapshot
Source§impl Default for TierStatsSnapshot
impl Default for TierStatsSnapshot
Source§fn default() -> TierStatsSnapshot
fn default() -> TierStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TierStatsSnapshot
impl RefUnwindSafe for TierStatsSnapshot
impl Send for TierStatsSnapshot
impl Sync for TierStatsSnapshot
impl Unpin for TierStatsSnapshot
impl UnsafeUnpin for TierStatsSnapshot
impl UnwindSafe for TierStatsSnapshot
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