pub struct Ntfs { /* private fields */ }Expand description
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§
Source§impl Ntfs
impl Ntfs
Sourcepub fn try_from_reader<R>(reader: &mut R, len: u16) -> ZipResult<Self>where
R: Read,
pub 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
Trait Implementations§
impl StructuralPartialEq for Ntfs
Auto Trait Implementations§
impl Freeze for Ntfs
impl RefUnwindSafe for Ntfs
impl Send for Ntfs
impl Sync for Ntfs
impl Unpin for Ntfs
impl UnsafeUnpin for Ntfs
impl UnwindSafe for Ntfs
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