Enum hyper::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(String)

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