[][src]Enum rocks::options::ReadTier

#[repr(C)]pub enum ReadTier {
    ReadAllTier,
    BlockCacheTier,
    PersistedTier,
}

An application can issue a read request (via Get/Iterators) and specify if that read should process data that ALREADY resides on a specified cache level. For example, if an application specifies kBlockCacheTier then the Get call will process data that is already processed in the memtable or the block cache. It will not page in data from the OS cache or data that resides in storage.

Variants

ReadAllTier

data in memtable, block cache, OS cache or storage

BlockCacheTier

data in memtable or block cache

PersistedTier

persisted data. When WAL is disabled, this option will skip data in memtable. Note that this ReadTier currently only supports Get and MultiGet and does not support iterators.

Trait Implementations

impl Clone for ReadTier[src]

impl Copy for ReadTier[src]

impl Debug for ReadTier[src]

impl Eq for ReadTier[src]

impl Hash for ReadTier[src]

impl PartialEq<ReadTier> for ReadTier[src]

impl StructuralEq for ReadTier[src]

impl StructuralPartialEq for ReadTier[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[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.