pub enum DateRangeErrorKind {
Negative,
Overflow,
}Expand description
Details of the error that caused a DateRangeError.
Variants§
Negative
Value was negative.
This means the MS-DOS date was before “1980-01-01”.
Overflow
Value was too big to be represented as Date.
This means the MS-DOS date was after “2107-12-31”.
Trait Implementations§
Source§impl Clone for DateRangeErrorKind
impl Clone for DateRangeErrorKind
Source§fn clone(&self) -> DateRangeErrorKind
fn clone(&self) -> DateRangeErrorKind
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 DateRangeErrorKind
impl Debug for DateRangeErrorKind
Source§impl Display for DateRangeErrorKind
impl Display for DateRangeErrorKind
Source§impl From<DateRangeErrorKind> for DateRangeError
impl From<DateRangeErrorKind> for DateRangeError
Source§fn from(kind: DateRangeErrorKind) -> Self
fn from(kind: DateRangeErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DateRangeErrorKind
impl PartialEq for DateRangeErrorKind
impl Copy for DateRangeErrorKind
impl Eq for DateRangeErrorKind
impl StructuralPartialEq for DateRangeErrorKind
Auto Trait Implementations§
impl Freeze for DateRangeErrorKind
impl RefUnwindSafe for DateRangeErrorKind
impl Send for DateRangeErrorKind
impl Sync for DateRangeErrorKind
impl Unpin for DateRangeErrorKind
impl UnwindSafe for DateRangeErrorKind
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)