pub enum DateFromStrError {
Syntax(InvalidDate<String>),
Value(InvalidDateValue),
}Variants§
Syntax(InvalidDate<String>)
Value(InvalidDateValue)
Trait Implementations§
Source§impl Debug for DateFromStrError
impl Debug for DateFromStrError
Source§impl Display for DateFromStrError
impl Display for DateFromStrError
Source§impl Error for DateFromStrError
impl Error for DateFromStrError
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<InvalidDate<String>> for DateFromStrError
impl From<InvalidDate<String>> for DateFromStrError
Source§fn from(source: InvalidDate<String>) -> Self
fn from(source: InvalidDate<String>) -> Self
Converts to this type from the input type.
Source§impl From<InvalidDateValue> for DateFromStrError
impl From<InvalidDateValue> for DateFromStrError
Source§fn from(source: InvalidDateValue) -> Self
fn from(source: InvalidDateValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DateFromStrError
impl RefUnwindSafe for DateFromStrError
impl Send for DateFromStrError
impl Sync for DateFromStrError
impl Unpin for DateFromStrError
impl UnwindSafe for DateFromStrError
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