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 Freeze for PlainTableFactoryOptions
impl RefUnwindSafe for PlainTableFactoryOptions
impl Send for PlainTableFactoryOptions
impl Sync for PlainTableFactoryOptions
impl Unpin for PlainTableFactoryOptions
impl UnwindSafe for PlainTableFactoryOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more