#[non_exhaustive]pub enum ExtraField {
Ntfs(Ntfs),
ExtendedTimestamp(ExtendedTimestamp),
Zip64ExtendedInformation(Zip64ExtendedInformation),
UnicodeComment(UnicodeExtraField),
UnicodePath(UnicodeExtraField),
DataStreamAlignment(DataStreamAlignment),
Custom(CustomExtraField),
}Expand description
contains one extra field
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.
Ntfs(Ntfs)
NTFS extra field
ExtendedTimestamp(ExtendedTimestamp)
extended timestamp, as described in https://libzip.org/specifications/extrafld.txt
Zip64ExtendedInformation(Zip64ExtendedInformation)
Zip64 Information
UnicodeComment(UnicodeExtraField)
Unicode Comment
UnicodePath(UnicodeExtraField)
UnicodePath
DataStreamAlignment(DataStreamAlignment)
Data Stream Alignment
Custom(CustomExtraField)
Custom extra field
Trait Implementations§
Source§impl Clone for ExtraField
impl Clone for ExtraField
Source§fn clone(&self) -> ExtraField
fn clone(&self) -> ExtraField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtraField
impl Debug for ExtraField
Source§impl PartialEq for ExtraField
impl PartialEq for ExtraField
impl StructuralPartialEq for ExtraField
Auto Trait Implementations§
impl Freeze for ExtraField
impl RefUnwindSafe for ExtraField
impl Send for ExtraField
impl Sync for ExtraField
impl Unpin for ExtraField
impl UnsafeUnpin for ExtraField
impl UnwindSafe for ExtraField
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