Enum uhttp_content_encoding::ContentEncoding
[−]
[src]
pub enum ContentEncoding<'a> { Std(StdContentEncoding), Other(&'a str), }
HTTP content encoding scheme.
Variants
Std(StdContentEncoding)
Standard defined scheme.
Other(&'a str)
Unknown/nonstandard scheme with the contained name.
This is guaranteed to have no surrounding whitespace and requires case-insensitive comparison to other strings.
Methods
impl<'a> ContentEncoding<'a>
[src]
Trait Implementations
impl<'a> Copy for ContentEncoding<'a>
[src]
impl<'a> Clone for ContentEncoding<'a>
[src]
fn clone(&self) -> ContentEncoding<'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 ContentEncoding<'a>
[src]
impl<'a> PartialEq for ContentEncoding<'a>
[src]
fn eq(&self, __arg_0: &ContentEncoding<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContentEncoding<'a>) -> bool
This method tests for !=
.