pub struct ContentCacheCounters {
pub hits: u64,
pub misses: u64,
}Expand description
The decoded-content cache hit/miss counters carried in
CacheStats.
Fields§
§hits: u64Session decoded-content cache hits.
misses: u64Session decoded-content cache misses.
Trait Implementations§
Source§impl Clone for ContentCacheCounters
impl Clone for ContentCacheCounters
Source§fn clone(&self) -> ContentCacheCounters
fn clone(&self) -> ContentCacheCounters
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 ContentCacheCounters
Source§impl Debug for ContentCacheCounters
impl Debug for ContentCacheCounters
Source§impl Default for ContentCacheCounters
impl Default for ContentCacheCounters
Source§fn default() -> ContentCacheCounters
fn default() -> ContentCacheCounters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentCacheCounters
impl<'de> Deserialize<'de> for ContentCacheCounters
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
impl Eq for ContentCacheCounters
Source§impl PartialEq for ContentCacheCounters
impl PartialEq for ContentCacheCounters
Source§impl Serialize for ContentCacheCounters
impl Serialize for ContentCacheCounters
impl StructuralPartialEq for ContentCacheCounters
Auto Trait Implementations§
impl Freeze for ContentCacheCounters
impl RefUnwindSafe for ContentCacheCounters
impl Send for ContentCacheCounters
impl Sync for ContentCacheCounters
impl Unpin for ContentCacheCounters
impl UnsafeUnpin for ContentCacheCounters
impl UnwindSafe for ContentCacheCounters
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