pub struct CompactionStats {
pub started_at: u64,
pub completed_at: u64,
pub duration_secs: u64,
pub tombstones_removed: usize,
pub segments_compacted: usize,
pub space_reclaimed_bytes: u64,
pub before_epoch: u64,
pub after_epoch: u64,
}Expand description
Compaction statistics
Fields§
§started_at: u64§completed_at: u64§duration_secs: u64§tombstones_removed: usize§segments_compacted: usize§space_reclaimed_bytes: u64§before_epoch: u64§after_epoch: u64Trait 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<'de> Deserialize<'de> for CompactionStats
impl<'de> Deserialize<'de> for CompactionStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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