pub struct CompactionReport {
pub generation: u64,
pub snapshot: SnapshotInfo,
pub retired_segment: PathBuf,
pub retired_segment_removed: bool,
}Expand description
Evidence for one successfully committed compaction generation.
Fields§
§generation: u64Newly active immutable manifest generation.
snapshot: SnapshotInfoSnapshot anchoring the retired log prefix.
retired_segment: PathBufSegment that became inactive after the manifest commit.
retired_segment_removed: boolWhether best-effort physical cleanup removed the retired segment.
Trait Implementations§
Source§impl Clone for CompactionReport
impl Clone for CompactionReport
Source§fn clone(&self) -> CompactionReport
fn clone(&self) -> CompactionReport
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 CompactionReport
impl Debug for CompactionReport
impl Eq for CompactionReport
Source§impl PartialEq for CompactionReport
impl PartialEq for CompactionReport
impl StructuralPartialEq for CompactionReport
Auto Trait Implementations§
impl Freeze for CompactionReport
impl RefUnwindSafe for CompactionReport
impl Send for CompactionReport
impl Sync for CompactionReport
impl Unpin for CompactionReport
impl UnsafeUnpin for CompactionReport
impl UnwindSafe for CompactionReport
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