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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.