pub enum Detection {
Zstd,
Gzip,
Zlib,
Unknown,
}
Expand description
Possible compression archive based on known signatures
Variants§
Zstd
ZSTD
Gzip
GZIP
Zlib
ZLIB
Unknown
Indicates that all possible options are exhausted and it is impossible to deduce compression.
Implementations§
Trait Implementations§
source§impl PartialEq for Detection
impl PartialEq for Detection
impl Copy for Detection
impl Eq for Detection
impl StructuralPartialEq for Detection
Auto Trait Implementations§
impl Freeze for Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnwindSafe for Detection
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