#[repr(i32)]pub enum PrepopulateBlobCache {
Disable = 0,
FlushOnly = 1,
}Expand description
Whether blobs written by a flush are inserted into the blob cache right away.
Used by Options::set_prepopulate_blob_cache. Mirrors rocksdb::PrepopulateBlobCache
from include/rocksdb/advanced_options.h, including its discriminants.
Variants§
Disable = 0
Blobs reach the cache only when something reads them. The default.
FlushOnly = 1
Blobs written by a flush go into the cache as they are written. Blobs written by compaction still do not.
Trait Implementations§
Source§impl Clone for PrepopulateBlobCache
impl Clone for PrepopulateBlobCache
Source§fn clone(&self) -> PrepopulateBlobCache
fn clone(&self) -> PrepopulateBlobCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrepopulateBlobCache
Source§impl Debug for PrepopulateBlobCache
impl Debug for PrepopulateBlobCache
Source§impl<'de> Deserialize<'de> for PrepopulateBlobCache
Available on crate feature serde1 only.
impl<'de> Deserialize<'de> for PrepopulateBlobCache
Available on crate feature
serde1 only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrepopulateBlobCache
Source§impl PartialEq for PrepopulateBlobCache
impl PartialEq for PrepopulateBlobCache
Source§impl Serialize for PrepopulateBlobCache
Available on crate feature serde1 only.
impl Serialize for PrepopulateBlobCache
Available on crate feature
serde1 only.impl StructuralPartialEq for PrepopulateBlobCache
Auto Trait Implementations§
impl Freeze for PrepopulateBlobCache
impl RefUnwindSafe for PrepopulateBlobCache
impl Send for PrepopulateBlobCache
impl Sync for PrepopulateBlobCache
impl Unpin for PrepopulateBlobCache
impl UnsafeUnpin for PrepopulateBlobCache
impl UnwindSafe for PrepopulateBlobCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more