pub enum DateTimeRangeErrorKind {
Negative,
Overflow,
}Expand description
Details of the error that caused a DateTimeRangeError.
Variants§
Negative
Value was negative.
This means MS-DOS date and time were before “1980-01-01 00:00:00”.
Overflow
Value was too big to be represented as DateTime.
This means MS-DOS date and time were after “2107-12-31 23:59:58”.
Trait Implementations§
Source§impl Clone for DateTimeRangeErrorKind
impl Clone for DateTimeRangeErrorKind
Source§fn clone(&self) -> DateTimeRangeErrorKind
fn clone(&self) -> DateTimeRangeErrorKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DateTimeRangeErrorKind
impl Debug for DateTimeRangeErrorKind
Source§impl Display for DateTimeRangeErrorKind
impl Display for DateTimeRangeErrorKind
Source§impl From<DateTimeRangeErrorKind> for DateTimeRangeError
impl From<DateTimeRangeErrorKind> for DateTimeRangeError
Source§fn from(kind: DateTimeRangeErrorKind) -> Self
fn from(kind: DateTimeRangeErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DateTimeRangeErrorKind
impl PartialEq for DateTimeRangeErrorKind
impl Copy for DateTimeRangeErrorKind
impl Eq for DateTimeRangeErrorKind
impl StructuralPartialEq for DateTimeRangeErrorKind
Auto Trait Implementations§
impl Freeze for DateTimeRangeErrorKind
impl RefUnwindSafe for DateTimeRangeErrorKind
impl Send for DateTimeRangeErrorKind
impl Sync for DateTimeRangeErrorKind
impl Unpin for DateTimeRangeErrorKind
impl UnwindSafe for DateTimeRangeErrorKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)