Struct parity_rocksdb::rocksdb_options::BlockBasedOptions
source · [−]pub struct BlockBasedOptions { /* private fields */ }
Implementations
sourceimpl BlockBasedOptions
impl BlockBasedOptions
pub fn new() -> BlockBasedOptions
pub fn set_block_size(&mut self, size: usize)
pub fn set_index_type(&mut self, index_type: IndexType)
pub fn set_cache(&mut self, cache: Cache)
pub fn set_filter(&mut self, bits: i32)
Trait Implementations
sourceimpl Drop for BlockBasedOptions
impl Drop for BlockBasedOptions
impl Send for BlockBasedOptions
impl Sync for BlockBasedOptions
Auto Trait Implementations
impl RefUnwindSafe for BlockBasedOptions
impl Unpin for BlockBasedOptions
impl UnwindSafe for BlockBasedOptions
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