[][src]Struct rocks::options::CompactionOptions

#[repr(C)]pub struct CompactionOptions { /* fields omitted */ }

CompactionOptions are used in CompactFiles() call.

Implementations

impl CompactionOptions[src]

pub fn new() -> CompactionOptions[src]

pub fn compression(self, val: CompressionType) -> Self[src]

Compaction output compression type

Default: snappy

pub fn output_file_size_limit(self, val: u64) -> Self[src]

Compaction will create files of size output_file_size_limit.

Default: MAX, which means that compaction will create a single file

Trait Implementations

impl Default for CompactionOptions[src]

impl Drop for CompactionOptions[src]

impl Sync for CompactionOptions[src]

Auto Trait Implementations

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.