pub struct CompactionOutcome {
pub checkpoint_path: Option<PathBuf>,
pub plan: CompactionPlan,
}Expand description
The outcome of an executed compaction.
Fields§
§checkpoint_path: Option<PathBuf>Where the checkpoint landed (content-addressed file in
checkpoint_dir) — None when the plan dropped nothing (nothing at
or below the frontier), in which case neither a checkpoint write nor
a truncation happened: an empty compaction is a no-op, not an empty
checkpoint file.
plan: CompactionPlanTrait Implementations§
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