#[repr(i8)]pub enum ZlibMode {
Deflate = -15,
Zlib = 15,
Gzip = 31,
Auto = 47,
}
Expand description
Decompression mode
Variants§
Deflate = -15
Assumes raw deflate
Zlib = 15
Assumes zlib header
Gzip = 31
Assumes gzip header
Auto = 47
Automatically detect header.
Default value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZlibMode
impl RefUnwindSafe for ZlibMode
impl Send for ZlibMode
impl Sync for ZlibMode
impl Unpin for ZlibMode
impl UnwindSafe for ZlibMode
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