Enum nt_time::error::FileTimeRangeErrorKind
source · pub enum FileTimeRangeErrorKind {
Negative,
Overflow,
}
Expand description
Details of the error that caused a FileTimeRangeError
.
Variants§
Negative
Value was negative.
This means the date and time was before “1601-01-01 00:00:00 UTC”.
Overflow
Value was too big to be represented as FileTime
.
This means the date and time was after “+60056-05-28 05:36:10.955161500 UTC”.
Trait Implementations§
source§impl Clone for FileTimeRangeErrorKind
impl Clone for FileTimeRangeErrorKind
source§fn clone(&self) -> FileTimeRangeErrorKind
fn clone(&self) -> FileTimeRangeErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileTimeRangeErrorKind
impl Debug for FileTimeRangeErrorKind
source§impl Display for FileTimeRangeErrorKind
impl Display for FileTimeRangeErrorKind
source§impl PartialEq<FileTimeRangeErrorKind> for FileTimeRangeErrorKind
impl PartialEq<FileTimeRangeErrorKind> for FileTimeRangeErrorKind
source§fn eq(&self, other: &FileTimeRangeErrorKind) -> bool
fn eq(&self, other: &FileTimeRangeErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.