Enum ckb_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
source§fn eq(&self, other: &KeyEncodingType) -> bool
fn eq(&self, other: &KeyEncodingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for KeyEncodingType
impl Eq for KeyEncodingType
impl StructuralEq for KeyEncodingType
impl StructuralPartialEq for KeyEncodingType
Auto Trait Implementations§
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