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

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 Clone for Encoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Encoding
[src]

Formats the value using the given formatter.

impl Hash for Encoding
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Ord for Encoding
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for Encoding
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for Encoding
[src]

impl PartialEq for Encoding
[src]

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

This method tests for !=.

impl Display for Encoding
[src]

Formats the value using the given formatter.

impl FromStr for Encoding
[src]

The associated error which can be returned from parsing.

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