pub struct CaptureSpanAndStackTrace;Expand description
Implementation of CaptureTrace that captures both a span trace using tracing_error::SpanTrace
and a stack trace.
tracing must be initialized with tracing_error::ErrorLayer for the span trace to be captured successfully
and RUST_BACKTRACE environment variable must be set for the stack trace to be captured.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CaptureSpanAndStackTrace
impl RefUnwindSafe for CaptureSpanAndStackTrace
impl Send for CaptureSpanAndStackTrace
impl Sync for CaptureSpanAndStackTrace
impl Unpin for CaptureSpanAndStackTrace
impl UnsafeUnpin for CaptureSpanAndStackTrace
impl UnwindSafe for CaptureSpanAndStackTrace
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