pub struct BoxedError(/* private fields */);Implementations§
Trait Implementations§
Source§impl Debug for BoxedError
impl Debug for BoxedError
Source§impl Display for BoxedError
impl Display for BoxedError
Source§impl Error for BoxedError
impl Error for BoxedError
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 BoxedError
impl !RefUnwindSafe for BoxedError
impl Send for BoxedError
impl !Sync for BoxedError
impl Unpin for BoxedError
impl !UnwindSafe for BoxedError
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<E> ErrorExt for Ewhere
E: Error,
impl<E> ErrorExt for Ewhere
E: Error,
Source§fn display_chain(&self) -> String
fn display_chain(&self) -> String
Creates a string representation of the entire error chain.
Source§fn display_chain_with_msg<S>(&self, msg: S) -> String
fn display_chain_with_msg<S>(&self, msg: S) -> String
Like Self::display_chain but with an extra message at the start of the chain.