Enum uhttp_transfer_encoding::TransferEncoding
[−]
[src]
pub enum TransferEncoding<'a> { Std(StdTransferEncoding), Other(&'a str), }
HTTP transfer encoding scheme.
Variants
Std(StdTransferEncoding)
Standard defined scheme.
Other(&'a str)
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]
Trait Implementations
impl<'a> Copy for TransferEncoding<'a>
[src]
impl<'a> Clone for TransferEncoding<'a>
[src]
fn clone(&self) -> TransferEncoding<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Eq for TransferEncoding<'a>
[src]
impl<'a> PartialEq for TransferEncoding<'a>
[src]
fn eq(&self, __arg_0: &TransferEncoding<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TransferEncoding<'a>) -> bool
This method tests for !=
.