pub enum FileCompressionType {
Stored,
Deflated,
StoredTampered,
DeflatedTampered,
}Expand description
Represents the type of compression used for a file in a ZIP archive.
Variants§
Stored
The file is stored without compression.
Deflated
The file is compressed using the Deflate algorithm.
StoredTampered
The file appears tampered but is actually stored without compression.
DeflatedTampered
The file appears tampered but is actually compressed with Deflate.
Trait Implementations§
Source§impl Debug for FileCompressionType
impl Debug for FileCompressionType
Source§impl PartialEq for FileCompressionType
impl PartialEq for FileCompressionType
impl StructuralPartialEq for FileCompressionType
Auto Trait Implementations§
impl Freeze for FileCompressionType
impl RefUnwindSafe for FileCompressionType
impl Send for FileCompressionType
impl Sync for FileCompressionType
impl Unpin for FileCompressionType
impl UnsafeUnpin for FileCompressionType
impl UnwindSafe for FileCompressionType
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