Enum edge::header::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 Display for Encoding

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

impl FromStr for Encoding

type Err = Error

fn from_str(s: &str) -> Result<Encoding, Error>

Derived Implementations

impl Debug for Encoding

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

impl PartialEq<Encoding> for Encoding

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

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

impl Clone for Encoding

fn clone(&self) -> Encoding

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