pub struct StickyCacheMetrics {
pub hit: u64,
pub miss: u64,
pub eviction: u64,
pub forced_cold_replay: u64,
pub entries: usize,
pub history_bytes: usize,
}Expand description
Replay counters and retained encoded history. Decoding/replay memory is additional.
Fields§
§hit: u64§miss: u64§eviction: u64§forced_cold_replay: u64§entries: usize§history_bytes: usizeTrait Implementations§
Source§impl Clone for StickyCacheMetrics
impl Clone for StickyCacheMetrics
Source§fn clone(&self) -> StickyCacheMetrics
fn clone(&self) -> StickyCacheMetrics
Returns a copy of the value. Read more
1.0.0 · 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 StickyCacheMetrics
impl Debug for StickyCacheMetrics
Source§impl Default for StickyCacheMetrics
impl Default for StickyCacheMetrics
Source§fn default() -> StickyCacheMetrics
fn default() -> StickyCacheMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for StickyCacheMetrics
impl PartialEq for StickyCacheMetrics
Source§impl Serialize for StickyCacheMetrics
impl Serialize for StickyCacheMetrics
impl Copy for StickyCacheMetrics
impl Eq for StickyCacheMetrics
impl StructuralPartialEq for StickyCacheMetrics
Auto Trait Implementations§
impl Freeze for StickyCacheMetrics
impl RefUnwindSafe for StickyCacheMetrics
impl Send for StickyCacheMetrics
impl Sync for StickyCacheMetrics
impl Unpin for StickyCacheMetrics
impl UnwindSafe for StickyCacheMetrics
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