[−][src]Struct rocks::options::CompactRangeOptions
CompactRangeOptions
is used by compact_range()
call.
Implementations
impl CompactRangeOptions
[src]
pub fn exclusive_manual_compaction(self, val: bool) -> Self
[src]
If true, no other compaction will run at the same time as this manual compaction
pub fn change_level(self, val: bool) -> Self
[src]
If true, compacted files will be moved to the minimum level capable of holding the data or given level (specified non-negative target_level).
pub fn target_level(self, val: i32) -> Self
[src]
If change_level is true and target_level have non-negative value, compacted files will be moved to target_level.
pub fn target_path_id(self, val: u32) -> Self
[src]
Compaction outputs will be placed in options.db_paths[target_path_id]. Behavior is undefined if target_path_id is out of range.
pub fn bottommost_level_compaction(self, val: BottommostLevelCompaction) -> Self
[src]
By default level based compaction will only compact the bottommost level if there is a compaction filter
Trait Implementations
impl Default for CompactRangeOptions
[src]
impl Drop for CompactRangeOptions
[src]
impl Sync for CompactRangeOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompactRangeOptions
[src]
impl !Send for CompactRangeOptions
[src]
impl Unpin for CompactRangeOptions
[src]
impl UnwindSafe for CompactRangeOptions
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,