#[non_exhaustive]pub enum ZipHeaderField {
FileName,
UnicodePath,
CompressionMethod,
EncryptionFlag,
DataDescriptorFlag,
ModifiedTime,
Crc32,
CompressedSize,
UncompressedSize,
}Expand description
Header field in which a ZIP local header disagrees with its central directory record.
§Examples
use exarch_core::ZipHeaderField;
assert_eq!(ZipHeaderField::FileName.to_string(), "file name");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.
FileName
File name
UnicodePath
Unicode Path extra field
CompressionMethod
Compression method
EncryptionFlag
Encryption flag
DataDescriptorFlag
Data descriptor flag
ModifiedTime
Modification time
Crc32
CRC-32
CompressedSize
Compressed size
UncompressedSize
Uncompressed size
Implementations§
Trait Implementations§
Source§impl Clone for ZipHeaderField
impl Clone for ZipHeaderField
impl Copy for ZipHeaderField
Source§impl Debug for ZipHeaderField
impl Debug for ZipHeaderField
Source§impl Display for ZipHeaderField
impl Display for ZipHeaderField
impl Eq for ZipHeaderField
Source§impl PartialEq for ZipHeaderField
impl PartialEq for ZipHeaderField
impl StructuralPartialEq for ZipHeaderField
Auto Trait Implementations§
impl Freeze for ZipHeaderField
impl RefUnwindSafe for ZipHeaderField
impl Send for ZipHeaderField
impl Sync for ZipHeaderField
impl Unpin for ZipHeaderField
impl UnsafeUnpin for ZipHeaderField
impl UnwindSafe for ZipHeaderField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.