pub struct ExpertStoreStats {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub pass_throughs: u64,
pub bytes_read: u64,
pub resident_bytes: u64,
}Expand description
Monotonic counters, readable at any time without taking the store
lock. resident_bytes is a gauge (current cache footprint).
Fields§
§hits: u64§misses: u64§evictions: u64§pass_throughs: u64Acquires that could not be cached (entry larger than what the budget could free) and were served as uncached pass-throughs.
bytes_read: u64§resident_bytes: u64Trait Implementations§
Source§impl Clone for ExpertStoreStats
impl Clone for ExpertStoreStats
Source§fn clone(&self) -> ExpertStoreStats
fn clone(&self) -> ExpertStoreStats
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 moreimpl Copy for ExpertStoreStats
Source§impl Debug for ExpertStoreStats
impl Debug for ExpertStoreStats
Source§impl Default for ExpertStoreStats
impl Default for ExpertStoreStats
Source§fn default() -> ExpertStoreStats
fn default() -> ExpertStoreStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExpertStoreStats
impl RefUnwindSafe for ExpertStoreStats
impl Send for ExpertStoreStats
impl Sync for ExpertStoreStats
impl Unpin for ExpertStoreStats
impl UnsafeUnpin for ExpertStoreStats
impl UnwindSafe for ExpertStoreStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more