Enum actix_web::headers::ContentEncoding
[−]
[src]
pub enum ContentEncoding {
Auto,
Br,
Deflate,
Gzip,
Identity,
}Represents supported types of content encodings
Variants
AutoAutomatically select encoding based on encoding negotiation
BrA format using the Brotli algorithm
DeflateA format using the zlib structure with deflate algorithm
GzipGzip algorithm
IdentityIndicates the identity function (i.e. no compression, nor modification)
Trait Implementations
impl<'a> From<&'a str> for ContentEncoding[src]
fn from(s: &'a str) -> ContentEncoding[src]
Performs the conversion.
impl Copy for ContentEncoding[src]
impl Clone for ContentEncoding[src]
fn clone(&self) -> ContentEncoding[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ContentEncoding[src]
fn eq(&self, __arg_0: &ContentEncoding) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.