Enum reqwest::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

The chunked encoding.

The gzip encoding.

The deflate encoding.

The compress encoding.

The identity encoding.

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

Trait Implementations

impl FromStr for Encoding

impl Debug for Encoding

Formats the value using the given formatter.

impl Clone for Encoding

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq<Encoding> for Encoding

impl Display for Encoding

Formats the value using the given formatter.