Enum hyper::header::Encoding [] [src]

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

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

Variants

The chunked encoding.

The br encoding.

The gzip encoding.

The deflate encoding.

The compress encoding.

The identity encoding.

The trailers encoding.

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

Trait Implementations

impl Clone for Encoding
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Encoding
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Encoding
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Encoding
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Encoding
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more