pub struct NtTime(/* private fields */);
Expand description
A type that represents a Windows file time and is used in the 7z archive format.
Can easily be converted to and from std::time::SystemTime
.
The feature flag nt-time
implements conversions for nt_time::FileTime
.
Implementations§
Trait Implementations§
Source§impl From<NtTime> for SystemTime
impl From<NtTime> for SystemTime
Source§impl Ord for NtTime
impl Ord for NtTime
Source§impl PartialOrd for NtTime
impl PartialOrd for NtTime
Source§impl TryFrom<SystemTime> for NtTime
impl TryFrom<SystemTime> for NtTime
Source§fn try_from(st: SystemTime) -> Result<Self, Self::Error>
fn try_from(st: SystemTime) -> Result<Self, Self::Error>
Converts a SystemTime
to a FileTime
.
impl Copy for NtTime
impl Eq for NtTime
impl StructuralPartialEq for NtTime
Auto Trait Implementations§
impl Freeze for NtTime
impl RefUnwindSafe for NtTime
impl Send for NtTime
impl Sync for NtTime
impl Unpin for NtTime
impl UnwindSafe for NtTime
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