pub enum EncodingHeaderValue {
Identity,
Brotli,
Deflate,
GZip,
Zstandard,
}
Expand description
Encoding header value.
Variants§
Trait Implementations§
Source§impl Clone for EncodingHeaderValue
impl Clone for EncodingHeaderValue
Source§fn clone(&self) -> EncodingHeaderValue
fn clone(&self) -> EncodingHeaderValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EncodingHeaderValue
impl Debug for EncodingHeaderValue
Source§impl Default for EncodingHeaderValue
impl Default for EncodingHeaderValue
Source§fn default() -> EncodingHeaderValue
fn default() -> EncodingHeaderValue
Returns the “default value” for a type. Read more
Source§impl Display for EncodingHeaderValue
impl Display for EncodingHeaderValue
Source§impl From<Encoding> for EncodingHeaderValue
impl From<Encoding> for EncodingHeaderValue
Source§impl FromStr for EncodingHeaderValue
impl FromStr for EncodingHeaderValue
Source§impl Hash for EncodingHeaderValue
impl Hash for EncodingHeaderValue
Source§impl Into<Encoding> for EncodingHeaderValue
impl Into<Encoding> for EncodingHeaderValue
Source§impl Into<HeaderValue> for EncodingHeaderValue
impl Into<HeaderValue> for EncodingHeaderValue
Source§fn into(self) -> HeaderValue
fn into(self) -> HeaderValue
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for EncodingHeaderValue
impl PartialEq for EncodingHeaderValue
impl Eq for EncodingHeaderValue
impl StructuralPartialEq for EncodingHeaderValue
Auto Trait Implementations§
impl Freeze for EncodingHeaderValue
impl RefUnwindSafe for EncodingHeaderValue
impl Send for EncodingHeaderValue
impl Sync for EncodingHeaderValue
impl Unpin for EncodingHeaderValue
impl UnwindSafe for EncodingHeaderValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.