pub struct WarmingStats {
pub cache_hits: u64,
pub cache_misses: u64,
pub total_entries: u64,
pub warming_runs: u64,
pub last_warming: Option<SystemTime>,
pub average_warming_duration: Duration,
}Expand description
Statistics for cache warming decisions
Fields§
§cache_hits: u64§cache_misses: u64§total_entries: u64§warming_runs: u64§last_warming: Option<SystemTime>§average_warming_duration: DurationImplementations§
Trait Implementations§
Source§impl Clone for WarmingStats
impl Clone for WarmingStats
Source§fn clone(&self) -> WarmingStats
fn clone(&self) -> WarmingStats
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 WarmingStats
impl Debug for WarmingStats
Source§impl Default for WarmingStats
impl Default for WarmingStats
Source§fn default() -> WarmingStats
fn default() -> WarmingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WarmingStats
impl RefUnwindSafe for WarmingStats
impl Send for WarmingStats
impl Sync for WarmingStats
impl Unpin for WarmingStats
impl UnsafeUnpin for WarmingStats
impl UnwindSafe for WarmingStats
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