#[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
Available on crate feature std or non-anyhow_no_core_error only.
impl Debug for BoxedError
Available on crate feature
std or non-anyhow_no_core_error only.Source§impl Display for BoxedError
Available on crate feature std or non-anyhow_no_core_error only.
impl Display for BoxedError
Available on crate feature
std or non-anyhow_no_core_error only.Source§impl Error for BoxedError
Available on crate feature std or non-anyhow_no_core_error only.
impl Error for BoxedError
Available on crate feature
std or non-anyhow_no_core_error only.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 UnsafeUnpin 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