pub enum TryFromFileTimeError {
Adjust,
Nanos,
SystemTime,
Unspecified,
}
Expand description
A failure occured while converting from a file time into a system time
Variants§
Adjust
Failed to adjust epochs.
Nanos
Failed to convert ticks into nanos.
SystemTime
The SystemTime cannot hold the final timestamp
Unspecified
An unspecified error occured
Trait Implementations§
source§impl Debug for TryFromFileTimeError
impl Debug for TryFromFileTimeError
source§impl Display for TryFromFileTimeError
impl Display for TryFromFileTimeError
source§impl Error for TryFromFileTimeError
impl Error for TryFromFileTimeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TryFromFileTimeError
impl RefUnwindSafe for TryFromFileTimeError
impl Send for TryFromFileTimeError
impl Sync for TryFromFileTimeError
impl Unpin for TryFromFileTimeError
impl UnwindSafe for TryFromFileTimeError
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