Struct engine_rocks::raw::TitanDBOptions[][src]

pub struct TitanDBOptions {
    pub inner: *mut DBTitanDBOptions,
}

Fields

inner: *mut DBTitanDBOptions

Implementations

impl TitanDBOptions[src]

pub fn new() -> TitanDBOptions[src]

pub fn dirname(&self) -> &str[src]

pub fn set_dirname(&mut self, name: &str)[src]

pub fn min_blob_size(&self) -> u64[src]

pub fn set_min_blob_size(&mut self, size: u64)[src]

pub fn blob_file_compression(&self) -> DBCompressionType[src]

pub fn set_blob_file_compression(&mut self, t: DBCompressionType)[src]

pub fn set_compression_options(
    &mut self,
    window_bits: i32,
    level: i32,
    strategy: i32,
    max_dict_bytes: i32,
    zstd_max_train_bytes: i32
)
[src]

pub fn set_disable_background_gc(&mut self, disable: bool)[src]

pub fn set_level_merge(&mut self, enable: bool)[src]

pub fn set_range_merge(&mut self, enable: bool)[src]

pub fn set_max_sorted_runs(&mut self, size: i32)[src]

pub fn set_max_background_gc(&mut self, size: i32)[src]

pub fn set_purge_obsolete_files_period(&mut self, period: usize)[src]

pub fn set_min_gc_batch_size(&mut self, size: u64)[src]

pub fn set_max_gc_batch_size(&mut self, size: u64)[src]

pub fn set_blob_cache(
    &mut self,
    size: usize,
    shard_bits: i32,
    capacity_limit: bool,
    pri_ratio: f64
)
[src]

pub fn set_discardable_ratio(&mut self, ratio: f64)[src]

pub fn set_sample_ratio(&mut self, ratio: f64)[src]

pub fn set_merge_small_file_threshold(&mut self, size: u64)[src]

pub fn set_blob_run_mode(&mut self, t: DBTitanDBBlobRunMode)[src]

pub fn set_gc_merge_rewrite(&mut self, enable: bool)[src]

Trait Implementations

impl Drop for TitanDBOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for TitanDBOptions

impl !Send for TitanDBOptions

impl !Sync for TitanDBOptions

impl Unpin for TitanDBOptions

impl UnwindSafe for TitanDBOptions

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> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]