pub struct CompactionSnapshot {
pub turn_count: usize,
pub scored_count: usize,
pub critical_count: usize,
pub memory_chars: usize,
pub last_audit_seq: u64,
}Expand description
Counted state for tests and admin surfaces.
Fields§
§turn_count: usizeLive turns currently held in history.
scored_count: usizeLive turns carrying a score.
critical_count: usizeVerbatim critical facts kept.
memory_chars: usizeCharacter length of the rolling memory.
last_audit_seq: u64Sequence number the last completed audit covered up to.
Trait Implementations§
Source§impl Clone for CompactionSnapshot
impl Clone for CompactionSnapshot
Source§fn clone(&self) -> CompactionSnapshot
fn clone(&self) -> CompactionSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompactionSnapshot
impl Debug for CompactionSnapshot
impl Eq for CompactionSnapshot
Source§impl PartialEq for CompactionSnapshot
impl PartialEq for CompactionSnapshot
impl StructuralPartialEq for CompactionSnapshot
Auto Trait Implementations§
impl Freeze for CompactionSnapshot
impl RefUnwindSafe for CompactionSnapshot
impl Send for CompactionSnapshot
impl Sync for CompactionSnapshot
impl Unpin for CompactionSnapshot
impl UnsafeUnpin for CompactionSnapshot
impl UnwindSafe for CompactionSnapshot
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.