Enum gzip_header::ExtraFlags
[−]
[src]
#[repr(u8)]pub enum ExtraFlags { Default, MaximumCompression, FastestCompression, }
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.
Variants
Default
MaximumCompression
FastestCompression
Methods
impl ExtraFlags
[src]
Trait Implementations
impl Debug for ExtraFlags
[src]
impl Copy for ExtraFlags
[src]
impl Clone for ExtraFlags
[src]
fn clone(&self) -> ExtraFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ExtraFlags
[src]
fn eq(&self, __arg_0: &ExtraFlags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.