#[non_exhaustive]pub enum CompressMethod {
Stored,
Zlib,
Bzip2,
Lzma1,
Lzma2,
}Expand description
TSetupCompressMethod — compression method for setup-1 chunks
(note: distinct from the setup-0 block compression discovered at
runtime via crate::Compression).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for CompressMethod
impl Clone for CompressMethod
Source§fn clone(&self) -> CompressMethod
fn clone(&self) -> CompressMethod
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 CompressMethod
impl Debug for CompressMethod
Source§impl Display for CompressMethod
impl Display for CompressMethod
Source§impl PartialEq for CompressMethod
impl PartialEq for CompressMethod
impl Copy for CompressMethod
impl Eq for CompressMethod
impl StructuralPartialEq for CompressMethod
Auto Trait Implementations§
impl Freeze for CompressMethod
impl RefUnwindSafe for CompressMethod
impl Send for CompressMethod
impl Sync for CompressMethod
impl Unpin for CompressMethod
impl UnsafeUnpin for CompressMethod
impl UnwindSafe for CompressMethod
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