pub struct BoxedErr(pub Box<dyn Error + Sync + Send>);Expand description
A boxed error implementing Debug, Display and Error.
Tuple Fields§
§0: Box<dyn Error + Sync + Send>Implementations§
Trait Implementations§
Source§impl Error for BoxedErr
impl Error for BoxedErr
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for BoxedErr
impl !RefUnwindSafe for BoxedErr
impl Send for BoxedErr
impl Sync for BoxedErr
impl Unpin for BoxedErr
impl !UnwindSafe for BoxedErr
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