pub enum TimeParseError {
NoSpace,
DateError(DateError),
OfDayError(ParseOfDayError),
NoZone,
ExpectedIntInZone(ParseIntError),
TzError(TzError),
TzParseError(TzParseError),
}Variants§
NoSpace
DateError(DateError)
OfDayError(ParseOfDayError)
NoZone
ExpectedIntInZone(ParseIntError)
TzError(TzError)
TzParseError(TzParseError)
Trait Implementations§
Source§impl Clone for TimeParseError
impl Clone for TimeParseError
Source§fn clone(&self) -> TimeParseError
fn clone(&self) -> TimeParseError
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 TimeParseError
impl Debug for TimeParseError
Source§impl Display for TimeParseError
impl Display for TimeParseError
Source§impl Error for TimeParseError
impl Error for TimeParseError
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<DateError> for TimeParseError
impl From<DateError> for TimeParseError
Source§impl From<ParseIntError> for TimeParseError
impl From<ParseIntError> for TimeParseError
Source§fn from(int_error: ParseIntError) -> Self
fn from(int_error: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TzError> for TimeParseError
impl From<TzError> for TimeParseError
Source§impl From<TzParseError> for TimeParseError
impl From<TzParseError> for TimeParseError
Source§fn from(tz_error: TzParseError) -> Self
fn from(tz_error: TzParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimeParseError
impl PartialEq for TimeParseError
impl Eq for TimeParseError
impl StructuralPartialEq for TimeParseError
Auto Trait Implementations§
impl Freeze for TimeParseError
impl RefUnwindSafe for TimeParseError
impl Send for TimeParseError
impl Sync for TimeParseError
impl Unpin for TimeParseError
impl UnwindSafe for TimeParseError
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