Struct engine_traits::options::IterOptions [−][src]
Fields
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
Implementations
impl IterOptions
[src]
pub fn new(
lower_bound: Option<KeyBuilder>,
upper_bound: Option<KeyBuilder>,
fill_cache: bool
) -> IterOptions
[src]
lower_bound: Option<KeyBuilder>,
upper_bound: Option<KeyBuilder>,
fill_cache: bool
) -> IterOptions
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]
fn clone(&self) -> IterOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for IterOptions
[src]
fn default() -> 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,