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

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.