Enum uhttp_transfer_encoding::TransferEncoding [] [src]

pub enum TransferEncoding<'a> {
    Std(StdTransferEncoding),
    Other(&'a str),
}

HTTP transfer encoding scheme.

Variants

Standard defined scheme.

Unknown/nonstandard scheme with the contained name.

The name is guaranteed to have no surrounding whitespace and requires case-insensitive comparison to other strings.

Methods

impl<'a> TransferEncoding<'a>
[src]

Parse a new TransferEncoding from the given string.

Trait Implementations

impl<'a> Copy for TransferEncoding<'a>
[src]

impl<'a> Clone for TransferEncoding<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Eq for TransferEncoding<'a>
[src]

impl<'a> PartialEq for TransferEncoding<'a>
[src]

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

This method tests for !=.

impl<'a> Debug for TransferEncoding<'a>
[src]

Formats the value using the given formatter.

impl<'a> Hash for TransferEncoding<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more