pub struct EdgeCacheStats {
pub hits: u64,
pub misses: u64,
}Expand description
Per-node cache hit/miss counters.
This is a documented placeholder: today both fields are always 0.
The real counters will land in a follow-on patch when the cache fill /
eviction subsystem itself is implemented. The type lives here now so
upstream callers (Zatabase Wave 1.3.3.7 in particular) can build
integration tests against the stable shape.
Fields§
§hits: u64Total cache hits observed for the node since registration.
misses: u64Total cache misses observed for the node since registration.
Trait Implementations§
Source§impl Clone for EdgeCacheStats
impl Clone for EdgeCacheStats
Source§fn clone(&self) -> EdgeCacheStats
fn clone(&self) -> EdgeCacheStats
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 EdgeCacheStats
Source§impl Debug for EdgeCacheStats
impl Debug for EdgeCacheStats
Source§impl Default for EdgeCacheStats
impl Default for EdgeCacheStats
Source§fn default() -> EdgeCacheStats
fn default() -> EdgeCacheStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EdgeCacheStats
impl RefUnwindSafe for EdgeCacheStats
impl Send for EdgeCacheStats
impl Sync for EdgeCacheStats
impl Unpin for EdgeCacheStats
impl UnsafeUnpin for EdgeCacheStats
impl UnwindSafe for EdgeCacheStats
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> 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