#[repr(u8)]pub enum ExtraFlags {
Default = 0,
MaximumCompression = 2,
FastestCompression = 4,
}
Expand description
Valid values for the extra flag in the gzip specification.
This is a field to be used by the compression methods. For deflate, which is the only specified compression method, this is a value indicating the level of compression of the contained compressed data. This value does not have to correspond to the actual compression level of the contained data, it’s only a hint that the the encoder may set.
Variants§
Implementations§
Source§impl ExtraFlags
impl ExtraFlags
Trait Implementations§
Source§impl Clone for ExtraFlags
impl Clone for ExtraFlags
Source§fn clone(&self) -> ExtraFlags
fn clone(&self) -> ExtraFlags
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 ExtraFlags
impl Debug for ExtraFlags
Source§impl Default for ExtraFlags
impl Default for ExtraFlags
Source§fn default() -> ExtraFlags
fn default() -> ExtraFlags
Returns the “default value” for a type. Read more
Source§impl Display for ExtraFlags
impl Display for ExtraFlags
Source§impl Hash for ExtraFlags
impl Hash for ExtraFlags
Source§impl PartialEq for ExtraFlags
impl PartialEq for ExtraFlags
impl Copy for ExtraFlags
impl Eq for ExtraFlags
impl StructuralPartialEq for ExtraFlags
Auto Trait Implementations§
impl Freeze for ExtraFlags
impl RefUnwindSafe for ExtraFlags
impl Send for ExtraFlags
impl Sync for ExtraFlags
impl Unpin for ExtraFlags
impl UnwindSafe for ExtraFlags
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