Enum rhit::DateParseError
source · pub enum DateParseError {
UnexpectedEnd,
InvalidDay(u8),
AmbiguousDate(String),
InvalidMonth(u8),
UnrecognizedMonth(String),
IntExpected(ParseIntError),
}
Variants§
UnexpectedEnd
InvalidDay(u8)
AmbiguousDate(String)
InvalidMonth(u8)
UnrecognizedMonth(String)
IntExpected(ParseIntError)
Trait Implementations§
source§impl Debug for DateParseError
impl Debug for DateParseError
source§impl Display for DateParseError
impl Display for DateParseError
source§impl Error for DateParseError
impl Error for DateParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DateParseError> for LogParseError
impl From<DateParseError> for LogParseError
source§fn from(source: DateParseError) -> Self
fn from(source: DateParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for DateParseError
impl From<ParseIntError> for DateParseError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DateParseError
impl Send for DateParseError
impl Sync for DateParseError
impl Unpin for DateParseError
impl UnwindSafe for DateParseError
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