pub struct BlockBasedOptions { /* private fields */ }Expand description
For configuring block-based file storage.
Implementations§
Source§impl BlockBasedOptions
impl BlockBasedOptions
pub fn set_block_size(&mut self, size: usize)
pub fn set_lru_cache(&mut self, size: size_t)
pub fn set_bloom_filter(&mut self, bits_per_key: c_int, block_based: bool)
pub fn set_cache_index_and_filter_blocks(&mut self, v: bool)
Trait Implementations§
Source§impl Default for BlockBasedOptions
impl Default for BlockBasedOptions
Source§fn default() -> BlockBasedOptions
fn default() -> BlockBasedOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockBasedOptions
impl RefUnwindSafe for BlockBasedOptions
impl !Send for BlockBasedOptions
impl !Sync for BlockBasedOptions
impl Unpin for BlockBasedOptions
impl UnwindSafe for BlockBasedOptions
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