pub struct NtfsTime(_);
Expand description
An NTFS timestamp, used for expressing file times.
NTFS (and the Windows NT line of operating systems) represent time as an unsigned 64-bit integer counting the number of 100-nanosecond intervals since January 1, 1601.
Implementations§
Trait Implementations§
source§impl BinRead for NtfsTime
impl BinRead for NtfsTime
source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_> ) -> BinResult<Self>
source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_be<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moresource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_le<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moresource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
T
from the reader assuming native-endian byte order. Read moresource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where
R: Read + Seek,
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where R: Read + Seek,
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moresource§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where
R: Read + Seek,
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where R: Read + Seek,
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moresource§impl From<NtfsTime> for OffsetDateTime
Available on crate feature time
only.
impl From<NtfsTime> for OffsetDateTime
Available on crate feature
time
only.source§fn from(nt: NtfsTime) -> OffsetDateTime
fn from(nt: NtfsTime) -> OffsetDateTime
Converts to this type from the input type.
source§impl Ord for NtfsTime
impl Ord for NtfsTime
source§impl PartialEq<NtfsTime> for NtfsTime
impl PartialEq<NtfsTime> for NtfsTime
source§impl PartialOrd<NtfsTime> for NtfsTime
impl PartialOrd<NtfsTime> for NtfsTime
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<OffsetDateTime> for NtfsTime
Available on crate feature time
only.
impl TryFrom<OffsetDateTime> for NtfsTime
Available on crate feature
time
only.source§impl TryFrom<SystemTime> for NtfsTime
Available on crate feature std
only.
impl TryFrom<SystemTime> for NtfsTime
Available on crate feature
std
only.§type Error = SystemTimeError
type Error = SystemTimeError
The type returned in the event of a conversion error.
impl Copy for NtfsTime
impl Eq for NtfsTime
impl StructuralEq for NtfsTime
impl StructuralPartialEq for NtfsTime
Auto Trait Implementations§
impl RefUnwindSafe for NtfsTime
impl Send for NtfsTime
impl Sync for NtfsTime
impl Unpin for NtfsTime
impl UnwindSafe for NtfsTime
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