Struct ParseError
pub struct ParseError(Inner);Expand description
Error returned when parsing a time-related type fails.
Tuple Fields§
§0: InnerImplementations§
§impl ParseError
impl ParseError
pub(crate) const INVALID_FORMAT: Self
pub(crate) const END_BEFORE_START: Self
pub const fn kind(&self) -> ParseErrorKind
pub const fn kind(&self) -> ParseErrorKind
Returns the kind of the parse error.
Trait Implementations§
§impl Clone for ParseError
impl Clone for ParseError
§fn clone(&self) -> ParseError
fn clone(&self) -> ParseError
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 more§impl Debug for ParseError
impl Debug for ParseError
§impl Display for ParseError
impl Display for ParseError
§impl From<ParseError> for ParseError
impl From<ParseError> for ParseError
§fn from(err: ChronoParseError) -> Self
fn from(err: ChronoParseError) -> Self
Converts to this type from the input type.
§impl From<ParseError> for ParseError
Available on crate feature tz only.
impl From<ParseError> for ParseError
Available on crate feature
tz only.§fn from(value: TimeZoneParseError) -> Self
fn from(value: TimeZoneParseError) -> Self
Converts to this type from the input type.
§impl From<ParseWeekdayError> for ParseError
impl From<ParseWeekdayError> for ParseError
§fn from(err: ParseWeekdayError) -> Self
fn from(err: ParseWeekdayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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