#[non_exhaustive]pub struct MemoStats {
pub entries: usize,
pub cells: usize,
pub dependent_edges: usize,
pub dirty: usize,
pub stale: usize,
pub approx_bytes: usize,
}Expand description
Sizes of the memo and of the dirty set (Engine::memo_stats).
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.entries: usizeAnswers held.
cells: usizeCells with at least one answer held.
dependent_edges: usizeEdges of the in-memory dependents index (input cell to reading cell).
dirty: usizeCells marked dirty and kept to refuse answers of evaluations already running.
stale: usizeAnswers dropped because a stored version they rested on changed, kept to be rechecked from memory (early cutoff without store queries for the unchanged part of a graph).
approx_bytes: usizeAn estimate of the bytes these take.
Trait Implementations§
impl Copy for MemoStats
impl Eq for MemoStats
impl StructuralPartialEq for MemoStats
Auto Trait Implementations§
impl Freeze for MemoStats
impl RefUnwindSafe for MemoStats
impl Send for MemoStats
impl Sync for MemoStats
impl Unpin for MemoStats
impl UnsafeUnpin for MemoStats
impl UnwindSafe for MemoStats
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