pub struct LeveledCompactionConfig {
pub l0_compaction_trigger: usize,
pub level_size_multiplier: usize,
pub max_levels: usize,
pub target_file_size: usize,
}Expand description
Leveled compaction configuration.
Fields§
§l0_compaction_trigger: usizeL0 → L1 trigger count (default: 4).
level_size_multiplier: usizeSize multiplier for each level (default: 10).
max_levels: usizeMaximum number of levels (default: 7).
target_file_size: usizeTarget SSTable file size (bytes, default: 64MB).
Trait Implementations§
Source§impl Clone for LeveledCompactionConfig
impl Clone for LeveledCompactionConfig
Source§fn clone(&self) -> LeveledCompactionConfig
fn clone(&self) -> LeveledCompactionConfig
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 LeveledCompactionConfig
Source§impl Debug for LeveledCompactionConfig
impl Debug for LeveledCompactionConfig
Source§impl Default for LeveledCompactionConfig
impl Default for LeveledCompactionConfig
impl Eq for LeveledCompactionConfig
Source§impl PartialEq for LeveledCompactionConfig
impl PartialEq for LeveledCompactionConfig
impl StructuralPartialEq for LeveledCompactionConfig
Auto Trait Implementations§
impl Freeze for LeveledCompactionConfig
impl RefUnwindSafe for LeveledCompactionConfig
impl Send for LeveledCompactionConfig
impl Sync for LeveledCompactionConfig
impl Unpin for LeveledCompactionConfig
impl UnsafeUnpin for LeveledCompactionConfig
impl UnwindSafe for LeveledCompactionConfig
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