#[non_exhaustive]pub struct EnvStats {
pub loaded: u64,
pub entries_parsed: u64,
pub dependencies_loaded: u64,
pub dependencies_evicted: u64,
pub dependency_bytes: u64,
pub preload_dereferences: u64,
pub preload_lookups: u64,
}Expand description
Counters, for the batch report and tests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.loaded: u64Files loaded by the caller.
entries_parsed: u64Entries parsed (eagerly or on first use).
dependencies_loaded: u64Dependencies loaded through the resolver.
dependencies_evicted: u64Dependencies evicted from the LRU.
dependency_bytes: u64Bytes the LRU holds now.
preload_dereferences: u64Preload table pointers the container passes dereferenced: each index
of a file’s table once per walk, however many rows’ spans cover it,
and once more, at the next row whose span reaches it or later in the
row, each time a load (the walk’s own or another thread’s) has
changed a key its external’s lookup read (Environment::container).
preload_lookups: u64Of those, the ones that looked their external up: a walk keeps an
answer until a key its lookup read changes, by any thread
(Environment::container).
Trait Implementations§
impl Copy for EnvStats
impl Eq for EnvStats
impl StructuralPartialEq for EnvStats
Auto Trait Implementations§
impl Forget for EnvStats
impl Freeze for EnvStats
impl Move for EnvStats
impl RefUnwindSafe for EnvStats
impl Send for EnvStats
impl Sync for EnvStats
impl Unpin for EnvStats
impl UnsafeUnpin for EnvStats
impl UnwindSafe for EnvStats
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