pub struct GraphCompilerCacheStats {
pub compile: CacheStats,
pub extensions: CacheStats,
}Expand description
Stats for caches owned by a GraphCompiler.
retained_bytes fields are logical payload estimates, not process RSS.
§Examples
use tenferro_runtime::{CacheStats, GraphCompilerCacheStats};
let stats = GraphCompilerCacheStats {
compile: CacheStats::empty(),
extensions: CacheStats::empty(),
};
assert_eq!(stats.compile.entries, 0);Fields§
§compile: CacheStatsCompiled execution-program cache.
extensions: CacheStatsGeneric extension compile-time caches.
Trait Implementations§
Source§impl Clone for GraphCompilerCacheStats
impl Clone for GraphCompilerCacheStats
Source§fn clone(&self) -> GraphCompilerCacheStats
fn clone(&self) -> GraphCompilerCacheStats
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 GraphCompilerCacheStats
impl Debug for GraphCompilerCacheStats
Source§impl Default for GraphCompilerCacheStats
impl Default for GraphCompilerCacheStats
Source§fn default() -> GraphCompilerCacheStats
fn default() -> GraphCompilerCacheStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for GraphCompilerCacheStats
impl PartialEq for GraphCompilerCacheStats
impl Copy for GraphCompilerCacheStats
impl Eq for GraphCompilerCacheStats
impl StructuralPartialEq for GraphCompilerCacheStats
Auto Trait Implementations§
impl Freeze for GraphCompilerCacheStats
impl RefUnwindSafe for GraphCompilerCacheStats
impl Send for GraphCompilerCacheStats
impl Sync for GraphCompilerCacheStats
impl Unpin for GraphCompilerCacheStats
impl UnsafeUnpin for GraphCompilerCacheStats
impl UnwindSafe for GraphCompilerCacheStats
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.