Enum parity_db::CompressionType
source · #[repr(u8)]pub enum CompressionType {
NoCompression,
Lz4,
Snappy,
}
Expand description
Different compression type allowed and their u8 representation.
Variants§
Trait Implementations§
source§impl Clone for CompressionType
impl Clone for CompressionType
source§fn clone(&self) -> CompressionType
fn clone(&self) -> CompressionType
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 CompressionType
impl Debug for CompressionType
source§impl From<u8> for CompressionType
impl From<u8> for CompressionType
source§impl FromStr for CompressionType
impl FromStr for CompressionType
source§impl PartialEq<CompressionType> for CompressionType
impl PartialEq<CompressionType> for CompressionType
source§fn eq(&self, other: &CompressionType) -> bool
fn eq(&self, other: &CompressionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompressionType
impl Eq for CompressionType
impl StructuralEq 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§
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