pub struct ContextAttachedError { /* private fields */ }
Expand description
A convenience error that allows for adding additional context
to source
Implementations§
Trait Implementations§
source§impl Debug for ContextAttachedError
impl Debug for ContextAttachedError
source§impl Display for ContextAttachedError
impl Display for ContextAttachedError
source§impl Error for ContextAttachedError
impl Error for ContextAttachedError
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 ContextAttachedError
impl !RefUnwindSafe for ContextAttachedError
impl Send for ContextAttachedError
impl Sync for ContextAttachedError
impl Unpin for ContextAttachedError
impl !UnwindSafe for ContextAttachedError
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.