#[repr(transparent)]pub struct BoxedError(pub Box<dyn StdError + Send + Sync>);
Tuple Fields§
§0: Box<dyn StdError + Send + Sync>
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 StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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