Enum viz_core::middleware::compression::ContentCoding
source · pub enum ContentCoding {
Gzip,
Deflate,
Brotli,
Any,
}
Available on crate feature
compression
only.Expand description
Variants§
Trait Implementations§
source§impl Debug for ContentCoding
impl Debug for ContentCoding
source§impl From<ContentCoding> for &'static str
impl From<ContentCoding> for &'static str
source§fn from(cc: ContentCoding) -> Self
fn from(cc: ContentCoding) -> Self
Converts to this type from the input type.
source§impl FromStr for ContentCoding
impl FromStr for ContentCoding
source§impl PartialEq<ContentCoding> for ContentCoding
impl PartialEq<ContentCoding> for ContentCoding
source§fn eq(&self, other: &ContentCoding) -> bool
fn eq(&self, other: &ContentCoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContentCoding
Auto Trait Implementations§
impl RefUnwindSafe for ContentCoding
impl Send for ContentCoding
impl Sync for ContentCoding
impl Unpin for ContentCoding
impl UnwindSafe for ContentCoding
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