pub enum CompactionOptions {
Leveled(LeveledCompactionOptions),
Tiered(TieredCompactionOptions),
Simple(SimpleLeveledCompactionOptions),
NoCompaction,
}Variants§
Leveled(LeveledCompactionOptions)
Leveled compaction with partial compaction + dynamic level support (= RocksDB’s Leveled Compaction)
Tiered(TieredCompactionOptions)
Tiered compaction (= RocksDB’s universal compaction)
Simple(SimpleLeveledCompactionOptions)
Simple leveled compaction
NoCompaction
In no compaction mode (week 1), always flush to L0
Trait Implementations§
Source§impl Clone for CompactionOptions
impl Clone for CompactionOptions
Source§fn clone(&self) -> CompactionOptions
fn clone(&self) -> CompactionOptions
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 moreAuto Trait Implementations§
impl Freeze for CompactionOptions
impl RefUnwindSafe for CompactionOptions
impl Send for CompactionOptions
impl Sync for CompactionOptions
impl Unpin for CompactionOptions
impl UnwindSafe for CompactionOptions
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