[−][src]Enum rocks::options::ReadTier
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
data in memtable, block cache, OS cache or storage
data in memtable or block cache
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ReadTier> for ReadTier
[src]
impl StructuralEq for ReadTier
[src]
impl StructuralPartialEq for ReadTier
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadTier
impl Send for ReadTier
impl Sync for ReadTier
impl Unpin for ReadTier
impl UnwindSafe for ReadTier
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,