pub struct GraphExecutorCacheStats {
pub extensions: CacheStats,
pub backend: CacheStats,
}Expand description
Stats for runtime caches owned by a graph executor.
retained_bytes fields are logical payload estimates, not process RSS.
§Examples
use tenferro_runtime::{CacheStats, GraphExecutorCacheStats};
let stats = GraphExecutorCacheStats {
extensions: CacheStats::empty(),
backend: CacheStats::empty(),
};
assert_eq!(stats.extensions.entries, 0);Fields§
§extensions: CacheStatsGeneric extension runtime caches.
backend: CacheStatsBackend-specific runtime analysis cache.
Trait Implementations§
Source§impl Clone for GraphExecutorCacheStats
impl Clone for GraphExecutorCacheStats
Source§fn clone(&self) -> GraphExecutorCacheStats
fn clone(&self) -> GraphExecutorCacheStats
Returns a duplicate 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 GraphExecutorCacheStats
impl Debug for GraphExecutorCacheStats
Source§impl Default for GraphExecutorCacheStats
impl Default for GraphExecutorCacheStats
Source§fn default() -> GraphExecutorCacheStats
fn default() -> GraphExecutorCacheStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for GraphExecutorCacheStats
impl PartialEq for GraphExecutorCacheStats
impl Copy for GraphExecutorCacheStats
impl Eq for GraphExecutorCacheStats
impl StructuralPartialEq for GraphExecutorCacheStats
Auto Trait Implementations§
impl Freeze for GraphExecutorCacheStats
impl RefUnwindSafe for GraphExecutorCacheStats
impl Send for GraphExecutorCacheStats
impl Sync for GraphExecutorCacheStats
impl Unpin for GraphExecutorCacheStats
impl UnsafeUnpin for GraphExecutorCacheStats
impl UnwindSafe for GraphExecutorCacheStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.