pub struct CacheAttribution {
pub cold_starts: u64,
pub warm_reuses: u64,
pub ttl_lapses: u64,
pub prefix_changes: u64,
}Expand description
Point-in-time view of the miss-attribution counters for /status.
Fields§
§cold_starts: u64First-sighting anchored turns (baseline only, not a hit or a miss).
warm_reuses: u64Turns whose prefix was stable and within TTL — the cache should hit.
ttl_lapses: u64Misses caused by an expired entry on an otherwise-stable prefix.
prefix_changes: u64Misses caused by a changed cacheable prefix (a mutated/edited prefix).
Trait Implementations§
Source§impl Clone for CacheAttribution
impl Clone for CacheAttribution
Source§fn clone(&self) -> CacheAttribution
fn clone(&self) -> CacheAttribution
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 CacheAttribution
impl Debug for CacheAttribution
Source§impl Default for CacheAttribution
impl Default for CacheAttribution
Source§fn default() -> CacheAttribution
fn default() -> CacheAttribution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheAttribution
impl<'de> Deserialize<'de> for CacheAttribution
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CacheAttribution
impl PartialEq for CacheAttribution
Source§impl Serialize for CacheAttribution
impl Serialize for CacheAttribution
impl StructuralPartialEq for CacheAttribution
Auto Trait Implementations§
impl Freeze for CacheAttribution
impl RefUnwindSafe for CacheAttribution
impl Send for CacheAttribution
impl Sync for CacheAttribution
impl Unpin for CacheAttribution
impl UnsafeUnpin for CacheAttribution
impl UnwindSafe for CacheAttribution
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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