pub struct CompactionResult {
pub segments_before: usize,
pub segments_after: usize,
pub bytes_reclaimed: u64,
pub tombstones_removed: u64,
}Expand description
Result of a compaction operation.
Fields§
§segments_before: usizeNumber of segments before compaction.
segments_after: usizeNumber of segments after compaction.
bytes_reclaimed: u64Total bytes reclaimed by compaction.
tombstones_removed: u64Number of tombstone records removed.
Trait Implementations§
Source§impl Clone for CompactionResult
impl Clone for CompactionResult
Source§fn clone(&self) -> CompactionResult
fn clone(&self) -> CompactionResult
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 moreAuto Trait Implementations§
impl Freeze for CompactionResult
impl RefUnwindSafe for CompactionResult
impl Send for CompactionResult
impl Sync for CompactionResult
impl Unpin for CompactionResult
impl UnsafeUnpin for CompactionResult
impl UnwindSafe for CompactionResult
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