pub struct DateValidationError { /* private fields */ }
Expand description
An error that occurs in Date::try_new
when an invalid date is encountered.
Trait Implementations§
Source§impl Debug for DateValidationError
impl Debug for DateValidationError
Source§impl Display for DateValidationError
impl Display for DateValidationError
Source§impl Error for DateValidationError
impl Error for DateValidationError
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()
Auto Trait Implementations§
impl Freeze for DateValidationError
impl RefUnwindSafe for DateValidationError
impl Send for DateValidationError
impl Sync for DateValidationError
impl Unpin for DateValidationError
impl UnwindSafe for DateValidationError
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