pub struct CompactionStep {
pub strategy: String,
pub messages_after: usize,
pub duration_ms: u64,
}Expand description
Record of a single compaction step in a cascade.
Fields§
§strategy: StringStrategy used in this step.
messages_after: usizeMessage count after this step.
duration_ms: u64Duration of this step in milliseconds.
Trait Implementations§
Source§impl Clone for CompactionStep
impl Clone for CompactionStep
Source§fn clone(&self) -> CompactionStep
fn clone(&self) -> CompactionStep
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 CompactionStep
impl Debug for CompactionStep
Source§impl<'de> Deserialize<'de> for CompactionStep
impl<'de> Deserialize<'de> for CompactionStep
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 CompactionStep
impl RefUnwindSafe for CompactionStep
impl Send for CompactionStep
impl Sync for CompactionStep
impl Unpin for CompactionStep
impl UnsafeUnpin for CompactionStep
impl UnwindSafe for CompactionStep
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