pub enum DateError {
YearRange(i64),
MonthRange(u64),
DayRange(u64),
Parsing(ParseIntError),
}Variants§
YearRange(i64)
The year was out of range of i16.
MonthRange(u64)
The month was out of range: bigger than 12.
DayRange(u64)
The day was out of range: bigger than 31.
Parsing(ParseIntError)
There was an error parsing an integer in the date.
Trait Implementations§
impl Eq for DateError
impl StructuralPartialEq for DateError
Auto Trait Implementations§
impl Freeze for DateError
impl RefUnwindSafe for DateError
impl Send for DateError
impl Sync for DateError
impl Unpin for DateError
impl UnwindSafe for DateError
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