Enum rocksdb::KeyEncodingType
source · pub enum KeyEncodingType {
Plain = 0,
Prefix = 1,
}
Expand description
Used in PlainTableFactoryOptions
.
Variants§
Plain = 0
Always write full keys.
Prefix = 1
Find opportunities to write the same prefix for multiple rows.
Trait Implementations§
source§impl Clone for KeyEncodingType
impl Clone for KeyEncodingType
source§fn clone(&self) -> KeyEncodingType
fn clone(&self) -> KeyEncodingType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyEncodingType
impl Debug for KeyEncodingType
source§impl Default for KeyEncodingType
impl Default for KeyEncodingType
source§fn default() -> KeyEncodingType
fn default() -> KeyEncodingType
Returns the “default value” for a type. Read more
source§impl PartialEq for KeyEncodingType
impl PartialEq for KeyEncodingType
impl Copy for KeyEncodingType
impl Eq for KeyEncodingType
impl StructuralPartialEq for KeyEncodingType
Auto Trait Implementations§
impl Freeze for KeyEncodingType
impl RefUnwindSafe for KeyEncodingType
impl Send for KeyEncodingType
impl Sync for KeyEncodingType
impl Unpin for KeyEncodingType
impl UnwindSafe for KeyEncodingType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)