pub struct CompactionStats {
pub deleted: u64,
pub min_consumer_position: Option<u64>,
pub policy_cutoff: u64,
pub actual_cutoff: u64,
}Expand description
Statistics from a compaction operation
Fields§
§deleted: u64Number of events deleted
min_consumer_position: Option<u64>Position of slowest consumer (events before this were not deleted)
policy_cutoff: u64Cutoff position based on policy
actual_cutoff: u64Actual cutoff used (min of policy cutoff and slowest consumer)
Implementations§
Trait Implementations§
Source§impl Clone for CompactionStats
impl Clone for CompactionStats
Source§fn clone(&self) -> CompactionStats
fn clone(&self) -> CompactionStats
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 CompactionStats
impl Debug for CompactionStats
Source§impl Default for CompactionStats
impl Default for CompactionStats
Source§fn default() -> CompactionStats
fn default() -> CompactionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompactionStats
impl RefUnwindSafe for CompactionStats
impl Send for CompactionStats
impl Sync for CompactionStats
impl Unpin for CompactionStats
impl UnwindSafe for CompactionStats
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