Enum accept_encoding::Encoding
source · pub enum Encoding {
Gzip,
Deflate,
Brotli,
None,
}
Expand description
Encoding levels.
Variants
Gzip
Gzip is the best encoding present.
Deflate
Deflate is the best encoding present.
Brotli
Brotli is the best encoding is present.
None
No encoding is present.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more