Enum hyper::header::shared::encoding::Encoding [-]  [+] [src]

pub enum Encoding {
    Chunked,
    Gzip,
    Deflate,
    Compress,
    Identity,
    EncodingExt(String),
}

A value to represent an encoding used in Transfer-Encoding or Accept-Encoding header.

Variants

Chunked

The chunked encoding.

Gzip

The gzip encoding.

Deflate

The deflate encoding.

Compress

The compress encoding.

Identity

The identity encoding.

EncodingExt

Some other encoding that is less common, can be any String.

Trait Implementations

impl String for Encoding

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Show for Encoding

fn fmt(&self, fmt: &mut Formatter) -> Result

impl FromStr for Encoding

fn from_str(s: &str) -> Option<Encoding>

Derived Implementations

impl PartialEq for Encoding

fn eq(&self, __arg_0: &Encoding) -> bool

fn ne(&self, __arg_0: &Encoding) -> bool

impl Clone for Encoding

fn clone(&self) -> Encoding

fn clone_from(&mut self, source: &Self)