pub enum CompactionOutcome {
NoChanges {
snapshot: SnapshotInfo,
},
Compacted(CompactionReport),
}Expand description
Result of an online compaction request.
Variants§
NoChanges
No committed frames exist beyond the already active snapshot anchor.
Fields
§
snapshot: SnapshotInfoCurrent verified snapshot.
Compacted(CompactionReport)
A new manifest and anchored segment were committed.
Trait Implementations§
Source§impl Clone for CompactionOutcome
impl Clone for CompactionOutcome
Source§fn clone(&self) -> CompactionOutcome
fn clone(&self) -> CompactionOutcome
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 CompactionOutcome
impl Debug for CompactionOutcome
impl Eq for CompactionOutcome
Source§impl PartialEq for CompactionOutcome
impl PartialEq for CompactionOutcome
impl StructuralPartialEq for CompactionOutcome
Auto Trait Implementations§
impl Freeze for CompactionOutcome
impl RefUnwindSafe for CompactionOutcome
impl Send for CompactionOutcome
impl Sync for CompactionOutcome
impl Unpin for CompactionOutcome
impl UnsafeUnpin for CompactionOutcome
impl UnwindSafe for CompactionOutcome
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