Struct engine_traits::IterOptions[][src]

pub struct IterOptions {
    lower_bound: Option<KeyBuilder>,
    upper_bound: Option<KeyBuilder>,
    prefix_same_as_start: bool,
    fill_cache: bool,
    hint_min_ts: Option<u64>,
    hint_max_ts: Option<u64>,
    key_only: bool,
    seek_mode: SeekMode,
    max_skippable_internal_keys: u64,
}

Fields

lower_bound: Option<KeyBuilder>upper_bound: Option<KeyBuilder>prefix_same_as_start: boolfill_cache: boolhint_min_ts: Option<u64>hint_max_ts: Option<u64>key_only: boolseek_mode: SeekModemax_skippable_internal_keys: u64

Implementations

impl IterOptions[src]

pub fn new(
    lower_bound: Option<KeyBuilder>,
    upper_bound: Option<KeyBuilder>,
    fill_cache: bool
) -> IterOptions
[src]

pub fn prefix_seek_used(&self) -> bool[src]

pub fn use_prefix_seek(&mut self)[src]

pub fn total_order_seek_used(&self) -> bool[src]

pub fn fill_cache(&self) -> bool[src]

pub fn set_fill_cache(&mut self, v: bool)[src]

pub fn set_hint_min_ts(&mut self, bound_ts: Bound<u64>)[src]

pub fn hint_min_ts(&self) -> Option<u64>[src]

pub fn hint_max_ts(&self) -> Option<u64>[src]

pub fn set_hint_max_ts(&mut self, bound_ts: Bound<u64>)[src]

pub fn key_only(&self) -> bool[src]

pub fn set_key_only(&mut self, v: bool)[src]

pub fn lower_bound(&self) -> Option<&[u8]>[src]

pub fn set_lower_bound(&mut self, bound: &[u8], reserved_prefix_len: usize)[src]

pub fn set_vec_lower_bound(&mut self, bound: Vec<u8>)[src]

pub fn set_lower_bound_prefix(&mut self, prefix: &[u8])[src]

pub fn upper_bound(&self) -> Option<&[u8]>[src]

pub fn set_upper_bound(&mut self, bound: &[u8], reserved_prefix_len: usize)[src]

pub fn set_vec_upper_bound(&mut self, bound: Vec<u8>)[src]

pub fn set_upper_bound_prefix(&mut self, prefix: &[u8])[src]

pub fn build_bounds(self) -> (Option<Vec<u8>>, Option<Vec<u8>>)[src]

pub fn prefix_same_as_start(&self) -> bool[src]

pub fn set_prefix_same_as_start(&mut self, enable: bool)[src]

pub fn max_skippable_internal_keys(&self) -> u64[src]

pub fn set_max_skippable_internal_keys(&mut self, threshold: u64)[src]

Trait Implementations

impl Clone for IterOptions[src]

impl Default for IterOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for IterOptions

impl Send for IterOptions

impl Sync for IterOptions

impl Unpin for IterOptions

impl UnwindSafe for IterOptions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]