#[repr(u8)]pub enum BottommostLevelCompaction {
Skip = 0,
IfHaveCompactionFilter = 1,
Force = 2,
ForceOptimized = 3,
}Variants§
Skip = 0
Skip bottommost level compaction
IfHaveCompactionFilter = 1
Only compact bottommost level if there is a compaction filter This is the default option
Force = 2
Always compact bottommost level
ForceOptimized = 3
Always compact bottommost level but in bottommost level avoid double-compacting files created in the same compaction
Trait Implementations§
Source§impl Clone for BottommostLevelCompaction
impl Clone for BottommostLevelCompaction
Source§fn clone(&self) -> BottommostLevelCompaction
fn clone(&self) -> BottommostLevelCompaction
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 moreimpl Copy for BottommostLevelCompaction
Source§impl Debug for BottommostLevelCompaction
impl Debug for BottommostLevelCompaction
Source§impl<'de> Deserialize<'de> for BottommostLevelCompaction
Available on crate feature serde1 only.
impl<'de> Deserialize<'de> for BottommostLevelCompaction
Available on crate feature
serde1 only.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
impl Eq for BottommostLevelCompaction
Source§impl Serialize for BottommostLevelCompaction
Available on crate feature serde1 only.
impl Serialize for BottommostLevelCompaction
Available on crate feature
serde1 only.impl StructuralPartialEq for BottommostLevelCompaction
Auto Trait Implementations§
impl Freeze for BottommostLevelCompaction
impl RefUnwindSafe for BottommostLevelCompaction
impl Send for BottommostLevelCompaction
impl Sync for BottommostLevelCompaction
impl Unpin for BottommostLevelCompaction
impl UnsafeUnpin for BottommostLevelCompaction
impl UnwindSafe for BottommostLevelCompaction
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