pub struct ImpossibleDateError { /* private fields */ }Expand description
An error indicating that the day does not exist for the given month and year (e.g. February 30).
Trait Implementations§
Source§impl Clone for ImpossibleDateError
impl Clone for ImpossibleDateError
Source§fn clone(&self) -> ImpossibleDateError
fn clone(&self) -> ImpossibleDateError
Returns a duplicate 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 ImpossibleDateError
impl Debug for ImpossibleDateError
Source§impl Display for ImpossibleDateError
impl Display for ImpossibleDateError
Source§impl Error for ImpossibleDateError
impl Error for ImpossibleDateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ImpossibleDateError> for InvalidDateError
impl From<ImpossibleDateError> for InvalidDateError
Source§fn from(source: ImpossibleDateError) -> Self
fn from(source: ImpossibleDateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImpossibleDateError
impl PartialEq for ImpossibleDateError
impl Copy for ImpossibleDateError
impl Eq for ImpossibleDateError
impl StructuralPartialEq for ImpossibleDateError
Auto Trait Implementations§
impl Freeze for ImpossibleDateError
impl RefUnwindSafe for ImpossibleDateError
impl Send for ImpossibleDateError
impl Sync for ImpossibleDateError
impl Unpin for ImpossibleDateError
impl UnsafeUnpin for ImpossibleDateError
impl UnwindSafe for ImpossibleDateError
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