#[non_exhaustive]pub enum Format {
Gzip,
Zlib,
RawDeflate,
}Expand description
Container framing around a DEFLATE stream.
Gzip includes ordinary single-member files, concatenated multi-member archives, and BGZF. Raw DEFLATE has no recognizable header and therefore must always be selected explicitly.
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.
Gzip
RFC 1952 gzip framing.
Zlib
RFC 1950 zlib framing.
RawDeflate
An unwrapped RFC 1951 DEFLATE stream.
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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