pub struct Counts {
pub hits: u64,
pub misses: u64,
pub unknowns: u64,
pub refusals: u64,
}Expand description
What this reader has done since the process started, for the operator watching the numbers move.
Fields§
§hits: u64Reads answered from a cache entry inside its TTL.
misses: u64Reads the cache held no fresh answer for.
unknowns: u64Fetches that established neither presence nor absence, not counting
the ones in refusals.
refusals: u64Fetches this reader refused before making a request: an address it will not reach, or a repository this deployment holds.
Trait Implementations§
impl Copy for Counts
impl Eq for Counts
impl StructuralPartialEq for Counts
Auto Trait Implementations§
impl Freeze for Counts
impl RefUnwindSafe for Counts
impl Send for Counts
impl Sync for Counts
impl Unpin for Counts
impl UnsafeUnpin for Counts
impl UnwindSafe for Counts
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.