pub enum DateTimeParseErrorKind {
InvalidNumber(Error),
ValueMissing,
OutOfRange {
min: i32,
max: i32,
},
}Variants§
Trait Implementations§
Source§impl Debug for DateTimeParseErrorKind
impl Debug for DateTimeParseErrorKind
Source§impl Display for DateTimeParseErrorKind
impl Display for DateTimeParseErrorKind
Source§impl Error for DateTimeParseErrorKind
impl Error for DateTimeParseErrorKind
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 DateTimeParseErrorKind
impl RefUnwindSafe for DateTimeParseErrorKind
impl Send for DateTimeParseErrorKind
impl Sync for DateTimeParseErrorKind
impl Unpin for DateTimeParseErrorKind
impl UnsafeUnpin for DateTimeParseErrorKind
impl UnwindSafe for DateTimeParseErrorKind
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