pub enum BinaryCompressionType {
Show 17 variants
NoCompression,
Zlib,
NumpressLinear,
NumpressSLOF,
NumpressPIC,
NumpressLinearZlib,
NumpressSLOFZlib,
NumpressPICZlib,
LinearPrediction,
DeltaPrediction,
Decoded,
Zstd,
ShuffleZstd,
DeltaShuffleZstd,
ZstdDict,
NumpressLinearZstd,
NumpressSLOFZstd,
}
Expand description
The range of compression and encoding states that a raw byte buffer
might be in during different stages of decoding. Other than Decoded
,
these states may or may not include intermediate base64 encoding.
Variants§
NoCompression
Zlib
NumpressLinear
NumpressSLOF
NumpressPIC
NumpressLinearZlib
NumpressSLOFZlib
NumpressPICZlib
LinearPrediction
DeltaPrediction
Decoded
Zstd
ShuffleZstd
DeltaShuffleZstd
ZstdDict
NumpressLinearZstd
NumpressSLOFZstd
Implementations§
Source§impl BinaryCompressionType
impl BinaryCompressionType
pub const COMPRESSION_METHODS: &'static [BinaryCompressionType]
Sourcepub fn unsupported_msg(&self, context: Option<&str>) -> String
pub fn unsupported_msg(&self, context: Option<&str>) -> String
Generate a user-understandable message about why a compression conversion operation failed
pub const fn accession(&self) -> Option<u32>
Trait Implementations§
Source§impl Clone for BinaryCompressionType
impl Clone for BinaryCompressionType
Source§fn clone(&self) -> BinaryCompressionType
fn clone(&self) -> BinaryCompressionType
Returns a duplicate 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 BinaryCompressionType
impl Debug for BinaryCompressionType
Source§impl Default for BinaryCompressionType
impl Default for BinaryCompressionType
Source§fn default() -> BinaryCompressionType
fn default() -> BinaryCompressionType
Returns the “default value” for a type. Read more
Source§impl Display for BinaryCompressionType
impl Display for BinaryCompressionType
Source§impl Hash for BinaryCompressionType
impl Hash for BinaryCompressionType
Source§impl PartialEq for BinaryCompressionType
impl PartialEq for BinaryCompressionType
impl Copy for BinaryCompressionType
impl StructuralPartialEq for BinaryCompressionType
Auto Trait Implementations§
impl Freeze for BinaryCompressionType
impl RefUnwindSafe for BinaryCompressionType
impl Send for BinaryCompressionType
impl Sync for BinaryCompressionType
impl Unpin for BinaryCompressionType
impl UnwindSafe for BinaryCompressionType
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