Struct rocksdb::PlainTableFactoryOptions[][src]

pub struct PlainTableFactoryOptions {
    pub user_key_length: u32,
    pub bloom_bits_per_key: i32,
    pub hash_table_ratio: f64,
    pub index_sparseness: usize,
}

Used with DBOptions::set_plain_table_factory. See official wiki for more information.

Defaults: user_key_length: 0 (variable length) bloom_bits_per_key: 10 hash_table_ratio: 0.75 index_sparseness: 16

Fields

user_key_length: u32bloom_bits_per_key: i32hash_table_ratio: f64index_sparseness: usize

Auto Trait Implementations

impl RefUnwindSafe for PlainTableFactoryOptions

impl Send for PlainTableFactoryOptions

impl Sync for PlainTableFactoryOptions

impl Unpin for PlainTableFactoryOptions

impl UnwindSafe for PlainTableFactoryOptions

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.