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 From<FileTimeRangeErrorKind> for FileTimeRangeError
impl From<FileTimeRangeErrorKind> for FileTimeRangeError
Source§fn from(kind: FileTimeRangeErrorKind) -> Self
fn from(kind: FileTimeRangeErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FileTimeRangeErrorKind
impl PartialEq for FileTimeRangeErrorKind
impl Copy for FileTimeRangeErrorKind
impl Eq for FileTimeRangeErrorKind
impl StructuralPartialEq for FileTimeRangeErrorKind
Auto Trait Implementations§
impl Freeze for FileTimeRangeErrorKind
impl RefUnwindSafe for FileTimeRangeErrorKind
impl Send for FileTimeRangeErrorKind
impl Sync for FileTimeRangeErrorKind
impl Unpin for FileTimeRangeErrorKind
impl UnwindSafe for FileTimeRangeErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)