#[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 copy 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 BottommostLevelCompaction
impl Debug for BottommostLevelCompaction
source§impl PartialEq for BottommostLevelCompaction
impl PartialEq for BottommostLevelCompaction
source§fn eq(&self, other: &BottommostLevelCompaction) -> bool
fn eq(&self, other: &BottommostLevelCompaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BottommostLevelCompaction
impl Eq for BottommostLevelCompaction
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 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)