pub enum CompactOutcome {
Compacted(u64),
CommitsRecent,
BelowThreshold,
ReadersPinned,
NotDurable,
}Expand description
What Store::compact_if_needed did, so a deferral is never silent.
Variants§
Compacted(u64)
Compacted at this commit index.
CommitsRecent
A commit landed within the quiescence window.
BelowThreshold
Neither the growth nor the purged-keys threshold is met.
ReadersPinned
A pinned reader (transaction, cursor, backup) is open.
NotDurable
The store has no file (in-memory).
Trait Implementations§
Source§impl Clone for CompactOutcome
impl Clone for CompactOutcome
impl Copy for CompactOutcome
Source§impl Debug for CompactOutcome
impl Debug for CompactOutcome
impl Eq for CompactOutcome
Source§impl PartialEq for CompactOutcome
impl PartialEq for CompactOutcome
impl StructuralPartialEq for CompactOutcome
Auto Trait Implementations§
impl Freeze for CompactOutcome
impl RefUnwindSafe for CompactOutcome
impl Send for CompactOutcome
impl Sync for CompactOutcome
impl Unpin for CompactOutcome
impl UnsafeUnpin for CompactOutcome
impl UnwindSafe for CompactOutcome
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.