pub struct CacheManagerStats {
pub total_requests: u64,
pub l1_hits: u64,
pub l2_hits: u64,
pub total_hits: u64,
pub misses: u64,
pub hit_rate: f64,
pub l1_hit_rate: f64,
pub promotions: usize,
pub in_flight_requests: usize,
}Expand description
Cache Manager statistics
Fields§
§total_requests: u64§l1_hits: u64§l2_hits: u64§total_hits: u64§misses: u64§hit_rate: f64§l1_hit_rate: f64§promotions: usize§in_flight_requests: usizeTrait Implementations§
Source§impl Clone for CacheManagerStats
impl Clone for CacheManagerStats
Source§fn clone(&self) -> CacheManagerStats
fn clone(&self) -> CacheManagerStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CacheManagerStats
impl RefUnwindSafe for CacheManagerStats
impl Send for CacheManagerStats
impl Sync for CacheManagerStats
impl Unpin for CacheManagerStats
impl UnwindSafe for CacheManagerStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)