#[non_exhaustive]pub enum ContentCoding {
Gzip(u32),
Deflate(u32),
Brotli(u32),
}Available on crate feature
file-stream only.Expand description
A configuration option to choose dynamic content encoding.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for ContentCoding
impl Debug for ContentCoding
Source§impl PartialEq for ContentCoding
impl PartialEq for ContentCoding
impl StructuralPartialEq for ContentCoding
Auto Trait Implementations§
impl Freeze for ContentCoding
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