Struct rocksdb::CompactOptions[][src]

pub struct CompactOptions { /* fields omitted */ }

Implementations

impl CompactOptions[src]

pub fn set_exclusive_manual_compaction(&mut self, v: bool)[src]

If more than one thread calls manual compaction, only one will actually schedule it while the other threads will simply wait for the scheduled manual compaction to complete. If exclusive_manual_compaction is set to true, the call will disable scheduling of automatic compaction jobs and wait for existing automatic compaction jobs to finish.

pub fn set_bottommost_level_compaction(
    &mut self,
    lvl: BottommostLevelCompaction
)
[src]

Sets bottommost level compaction.

pub fn set_change_level(&mut self, v: bool)[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 set_target_level(&mut self, lvl: c_int)[src]

If change_level is true and target_level have non-negative value, compacted files will be moved to target_level.

Trait Implementations

impl Default for CompactOptions[src]

impl Drop for CompactOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for CompactOptions

impl !Send for CompactOptions

impl !Sync for CompactOptions

impl Unpin for CompactOptions

impl UnwindSafe for CompactOptions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.