Enum mzdata::spectrum::bindata::BinaryCompressionType
source · pub enum BinaryCompressionType {
NoCompression,
Zlib,
NumpressLinear,
NumpressSLOF,
NumpressPIC,
NumpressLinearZlib,
NumpressSLOFZlib,
NumpressPICZlib,
LinearPrediction,
DeltaPrediction,
Decoded,
}
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
Implementations§
Trait Implementations§
source§impl Clone for BinaryCompressionType
impl Clone for BinaryCompressionType
source§fn clone(&self) -> BinaryCompressionType
fn clone(&self) -> BinaryCompressionType
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 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
source§fn eq(&self, other: &BinaryCompressionType) -> bool
fn eq(&self, other: &BinaryCompressionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.