pub struct CacheActivity {
pub hits: u64,
pub misses: u64,
pub by_node: BTreeMap<String, NodeCacheCounts>,
}Expand description
Per-run cache effectiveness, reconstructed from hit/miss events.
Fields§
§hits: u64Cache hits across the whole run.
misses: u64Cache misses across the whole run.
by_node: BTreeMap<String, NodeCacheCounts>Per-node breakdown, keyed by node id.
Trait Implementations§
Source§impl Clone for CacheActivity
impl Clone for CacheActivity
Source§fn clone(&self) -> CacheActivity
fn clone(&self) -> CacheActivity
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 CacheActivity
impl Debug for CacheActivity
Source§impl Default for CacheActivity
impl Default for CacheActivity
Source§fn default() -> CacheActivity
fn default() -> CacheActivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheActivity
impl<'de> Deserialize<'de> for CacheActivity
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
Auto Trait Implementations§
impl Freeze for CacheActivity
impl RefUnwindSafe for CacheActivity
impl Send for CacheActivity
impl Sync for CacheActivity
impl Unpin for CacheActivity
impl UnsafeUnpin for CacheActivity
impl UnwindSafe for CacheActivity
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