pub enum CompressionTypeVariant {
GZIP,
BZIP2,
XZ,
UNCOMPRESSED,
}
Expand description
Readable file compression type
Variants§
Implementations§
source§impl CompressionTypeVariant
impl CompressionTypeVariant
pub const fn is_compressed(&self) -> bool
Trait Implementations§
source§impl Clone for CompressionTypeVariant
impl Clone for CompressionTypeVariant
source§fn clone(&self) -> CompressionTypeVariant
fn clone(&self) -> CompressionTypeVariant
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 CompressionTypeVariant
impl Debug for CompressionTypeVariant
source§impl FromStr for CompressionTypeVariant
impl FromStr for CompressionTypeVariant
§type Err = ParserError
type Err = ParserError
The associated error which can be returned from parsing.
source§impl PartialEq<CompressionTypeVariant> for CompressionTypeVariant
impl PartialEq<CompressionTypeVariant> for CompressionTypeVariant
source§fn eq(&self, other: &CompressionTypeVariant) -> bool
fn eq(&self, other: &CompressionTypeVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for CompressionTypeVariant
impl ToString for CompressionTypeVariant
impl Copy for CompressionTypeVariant
impl Eq for CompressionTypeVariant
impl StructuralEq for CompressionTypeVariant
impl StructuralPartialEq for CompressionTypeVariant
Auto Trait Implementations§
impl RefUnwindSafe for CompressionTypeVariant
impl Send for CompressionTypeVariant
impl Sync for CompressionTypeVariant
impl Unpin for CompressionTypeVariant
impl UnwindSafe for CompressionTypeVariant
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more