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 ==.