pub enum ContentCoding {
Gzip,
Deflate,
Brotli,
Zstd,
}Expand description
A content coding identifier.
Variants§
Gzip
gzip (RFC 1952)
Deflate
deflate (RFC 9110 §8.4.1.2: the zlib wrapper, RFC 1950; raw deflate streams, RFC 1951, are accepted as a lenient fallback)
Brotli
brotli (RFC 7932)
Zstd
zstd (RFC 8478)
Implementations§
Trait Implementations§
Source§impl Clone for ContentCoding
impl Clone for ContentCoding
impl Copy for ContentCoding
Source§impl Debug for ContentCoding
impl Debug for ContentCoding
impl Eq 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 UnsafeUnpin 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