pub struct ErasedError { /* private fields */ }Expand description
Type-erased Error type.
Implementations§
Trait Implementations§
Source§impl Debug for ErasedError
impl Debug for ErasedError
Source§impl Display for ErasedError
impl Display for ErasedError
Source§impl Error for ErasedError
impl Error for ErasedError
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 !RefUnwindSafe for ErasedError
impl !UnwindSafe for ErasedError
impl Freeze for ErasedError
impl Send for ErasedError
impl Sync for ErasedError
impl Unpin for ErasedError
impl UnsafeUnpin for ErasedError
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