pub struct CompactReport {
pub before: usize,
pub after: usize,
pub cache_before: usize,
pub cache_after: usize,
}Expand description
Result of a Mnemo::compact_file run.
Fields§
§before: usizeLive memories before compaction.
after: usizeLive memories after compaction (expired ones dropped).
cache_before: usizeLive, non-expired cache entries before compaction. FIX-1 R-001.1: compaction now preserves the result cache instead of silently dropping it.
cache_after: usizeLive, non-expired cache entries after compaction (tombstoned and TTL-expired ones dropped).
Trait Implementations§
Source§impl Clone for CompactReport
impl Clone for CompactReport
impl Copy for CompactReport
Source§impl Debug for CompactReport
impl Debug for CompactReport
Auto Trait Implementations§
impl Forget for CompactReport
impl Freeze for CompactReport
impl RefUnwindSafe for CompactReport
impl Send for CompactReport
impl Sync for CompactReport
impl Unpin for CompactReport
impl UnsafeUnpin for CompactReport
impl UnwindSafe for CompactReport
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