Enum rocksdb::BlockBasedIndexType
source · [−]pub enum BlockBasedIndexType {
BinarySearch,
HashSearch,
TwoLevelIndexSearch,
}
Expand description
Used by BlockBasedOptions::set_index_type.
Variants
BinarySearch
A space efficient index block that is optimized for binary-search-based index.
HashSearch
The hash index, if enabled, will perform a hash lookup if a prefix extractor has been provided through Options::set_prefix_extractor.
TwoLevelIndexSearch
A two-level index implementation. Both levels are binary search indexes.
Auto Trait Implementations
impl RefUnwindSafe for BlockBasedIndexType
impl Send for BlockBasedIndexType
impl Sync for BlockBasedIndexType
impl Unpin for BlockBasedIndexType
impl UnwindSafe for BlockBasedIndexType
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