Enum rc_zip::parse::ExtraField
source · pub enum ExtraField<'a> {
Zip64(ExtraZip64Field),
Timestamp(ExtraTimestampField),
Unix(ExtraUnixField<'a>),
NewUnix(ExtraNewUnixField),
Ntfs(ExtraNtfsField),
Unknown {
tag: u16,
},
}
Expand description
Information stored in the central directory header extra
field
This typically contains timestamps, file sizes and offsets, file mode, uid/gid, etc.
See extrafld.txt
in this crate’s source distribution.
Variants§
Zip64(ExtraZip64Field)
Zip64 extended information extra field
Timestamp(ExtraTimestampField)
Extended timestamp
Unix(ExtraUnixField<'a>)
UNIX & Info-Zip UNIX
NewUnix(ExtraNewUnixField)
New UNIX extra field
Ntfs(ExtraNtfsField)
NTFS (Win9x/WinNT FileTimes)
Unknown
Unknown extra field, with tag
Implementations§
source§impl<'a> ExtraField<'a>
impl<'a> ExtraField<'a>
Trait Implementations§
source§impl<'a> Clone for ExtraField<'a>
impl<'a> Clone for ExtraField<'a>
source§fn clone(&self) -> ExtraField<'a>
fn clone(&self) -> ExtraField<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for ExtraField<'a>
impl<'a> RefUnwindSafe for ExtraField<'a>
impl<'a> Send for ExtraField<'a>
impl<'a> Sync for ExtraField<'a>
impl<'a> Unpin for ExtraField<'a>
impl<'a> UnwindSafe for ExtraField<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)