Enum rusty_leveldb::CompressionType
source · [−]pub enum CompressionType {
CompressionNone,
CompressionSnappy,
}
Variants
CompressionNone
CompressionSnappy
Trait Implementations
sourceimpl Clone for CompressionType
impl Clone for CompressionType
sourcefn clone(&self) -> CompressionType
fn clone(&self) -> CompressionType
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CompressionType
impl Debug for CompressionType
sourceimpl PartialEq<CompressionType> for CompressionType
impl PartialEq<CompressionType> for CompressionType
sourcefn eq(&self, other: &CompressionType) -> bool
fn eq(&self, other: &CompressionType) -> bool
impl Copy for CompressionType
impl StructuralPartialEq for CompressionType
Auto Trait Implementations
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more