pub struct LruStats {
pub hits: u64,
pub misses: u64,
pub evictions: u64,
pub bytes_read: u64,
pub waited: u64,
pub prefetched: u64,
pub prefetch_unused: u64,
}Fields§
§hits: u64§misses: u64§evictions: u64§bytes_read: u64§waited: u64Hits on a slot whose read was still in flight (a prediction that arrived in time to be waited on rather than missed).
prefetched: u64Experts read on a prediction, and of those, never asked for.
prefetch_unused: u64Trait Implementations§
impl Copy for LruStats
impl Eq for LruStats
impl StructuralPartialEq for LruStats
Auto Trait Implementations§
impl Freeze for LruStats
impl RefUnwindSafe for LruStats
impl Send for LruStats
impl Sync for LruStats
impl Unpin for LruStats
impl UnwindSafe for LruStats
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.