pub struct CompactionReport {
pub items_compacted: usize,
pub events_replaced: usize,
pub snapshots_created: usize,
pub items_skipped: usize,
}Expand description
Report from compacting eligible items.
Fields§
§items_compacted: usizeNumber of items compacted.
events_replaced: usizeNumber of events replaced by snapshots.
snapshots_created: usizeNumber of snapshot events created (one per compacted item).
items_skipped: usizeItems skipped (not eligible).
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 · 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
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