pub struct ParseHumanReadableDurationError;Expand description
The error which will be returned, if a value could not be parsed into an HumanReadableDuration
Trait Implementations§
Source§impl Debug for ParseHumanReadableDurationError
? formatting.
impl Debug for ParseHumanReadableDurationError
? formatting.
Debug should format the output in a programmer-facing, debugging context.
Source§impl Display for ParseHumanReadableDurationError
Format trait for an empty format, {}.
impl Display for ParseHumanReadableDurationError
Format trait for an empty format, {}.
Display is similar to Debug, but Display is for user-facing
output.
Source§impl Error for ParseHumanReadableDurationError
impl Error for ParseHumanReadableDurationError
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()
Auto Trait Implementations§
impl Freeze for ParseHumanReadableDurationError
impl RefUnwindSafe for ParseHumanReadableDurationError
impl Send for ParseHumanReadableDurationError
impl Sync for ParseHumanReadableDurationError
impl Unpin for ParseHumanReadableDurationError
impl UnsafeUnpin for ParseHumanReadableDurationError
impl UnwindSafe for ParseHumanReadableDurationError
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