Struct rocksdb::PlainTableFactoryOptions
source · [−]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: u32
bloom_bits_per_key: i32
hash_table_ratio: f64
index_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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more