Enum piz::read::CompressionMethod
source · [−]pub enum CompressionMethod {
None,
Deflate,
Unsupported(u16),
}
Expand description
The compression method used to store a file
Variants
None
The file is uncompressed
Deflate
The file is DEFLATEd. This is the most common format used by ZIP archives.
Unsupported(u16)
The file is compressed with a yet-unsupported format. (The u16 indicates the internal format code.)
Trait Implementations
sourceimpl Clone for CompressionMethod
impl Clone for CompressionMethod
sourcefn clone(&self) -> CompressionMethod
fn clone(&self) -> CompressionMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompressionMethod
impl Debug for CompressionMethod
sourceimpl PartialEq<CompressionMethod> for CompressionMethod
impl PartialEq<CompressionMethod> for CompressionMethod
sourcefn eq(&self, other: &CompressionMethod) -> bool
fn eq(&self, other: &CompressionMethod) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for CompressionMethod
impl Eq for CompressionMethod
impl StructuralEq for CompressionMethod
impl StructuralPartialEq for CompressionMethod
Auto Trait Implementations
impl RefUnwindSafe for CompressionMethod
impl Send for CompressionMethod
impl Sync for CompressionMethod
impl Unpin for CompressionMethod
impl UnwindSafe for CompressionMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more