Struct Ntfs
pub struct Ntfs { /* private fields */ }
The NTFS extra field as described in PKWARE's APPNOTE.TXT v6.3.9.
This field stores Windows file times, which are 64-bit unsigned integer values that represents the number of 100-nanosecond intervals that have elapsed since "1601-01-01 00:00:00 UTC".
Implementations
impl Ntfs
fn try_from_reader<R>(reader: &mut R, len: u16) -> ZipResult<Self> where R: Read,Creates a NTFS extra field struct by reading the required bytes from the reader.
This method assumes that the length has already been read, therefore it must be passed as an argument.
Errors
Fails if the NTFS extra field doesn't have the correct length or a read fails
fn mtime(&self) -> u64Returns the file last modification time as a file time.
fn atime(&self) -> u64Returns the file last access time as a file time.
fn ctime(&self) -> u64Returns the file creation time as a file time.
Trait Implementations
impl Clone for Ntfs
fn clone(&self) -> Self
impl Debug for Ntfs
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for Ntfs
fn eq(&self, other: &Self) -> bool