pub struct ParseDurationError { /* private fields */ }
Expand description
A parsing error
Trait Implementations§
Source§impl Clone for ParseDurationError
impl Clone for ParseDurationError
Source§fn clone(&self) -> ParseDurationError
fn clone(&self) -> ParseDurationError
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 ParseDurationError
impl Debug for ParseDurationError
Source§impl Display for ParseDurationError
impl Display for ParseDurationError
Source§impl Error for ParseDurationError
impl Error for ParseDurationError
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<OppositeSignInDurationComponentsError> for ParseDurationError
impl From<OppositeSignInDurationComponentsError> for ParseDurationError
Source§fn from(_: OppositeSignInDurationComponentsError) -> ParseDurationError
fn from(_: OppositeSignInDurationComponentsError) -> ParseDurationError
Converts to this type from the input type.
Source§impl From<ParseDurationError> for TermToTypedValueError
impl From<ParseDurationError> for TermToTypedValueError
Source§fn from(_: ParseDurationError) -> TermToTypedValueError
fn from(_: ParseDurationError) -> TermToTypedValueError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseDurationError
impl RefUnwindSafe for ParseDurationError
impl Send for ParseDurationError
impl Sync for ParseDurationError
impl Unpin for ParseDurationError
impl UnwindSafe for ParseDurationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more