Enum nt_time::error::DosDateTimeRangeErrorKind
source · pub enum DosDateTimeRangeErrorKind {
Negative,
Overflow,
}
Expand description
Details of the error that caused a DosDateTimeRangeError
.
Variants§
Negative
Value was negative.
This means the date and time was before “1980-01-01 00:00:00”.
Overflow
Value was too big to be represented as MS-DOS date and time.
This means the date and time was after “2107-12-31 23:59:59.990000000”.
Trait Implementations§
source§impl Clone for DosDateTimeRangeErrorKind
impl Clone for DosDateTimeRangeErrorKind
source§fn clone(&self) -> DosDateTimeRangeErrorKind
fn clone(&self) -> DosDateTimeRangeErrorKind
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 DosDateTimeRangeErrorKind
impl Debug for DosDateTimeRangeErrorKind
source§impl Display for DosDateTimeRangeErrorKind
impl Display for DosDateTimeRangeErrorKind
source§impl From<DosDateTimeRangeErrorKind> for DosDateTimeRangeError
impl From<DosDateTimeRangeErrorKind> for DosDateTimeRangeError
source§fn from(kind: DosDateTimeRangeErrorKind) -> Self
fn from(kind: DosDateTimeRangeErrorKind) -> Self
Converts to this type from the input type.
impl Copy for DosDateTimeRangeErrorKind
impl Eq for DosDateTimeRangeErrorKind
impl StructuralPartialEq for DosDateTimeRangeErrorKind
Auto Trait Implementations§
impl Freeze for DosDateTimeRangeErrorKind
impl RefUnwindSafe for DosDateTimeRangeErrorKind
impl Send for DosDateTimeRangeErrorKind
impl Sync for DosDateTimeRangeErrorKind
impl Unpin for DosDateTimeRangeErrorKind
impl UnwindSafe for DosDateTimeRangeErrorKind
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.