Struct tracing_error::SpanTraceStatus
source · pub struct SpanTraceStatus(/* private fields */);
Expand description
The current status of a SpanTrace, indicating whether it was captured or whether it is empty for some other reason.
Implementations§
source§impl SpanTraceStatus
impl SpanTraceStatus
sourcepub const UNSUPPORTED: SpanTraceStatus = _
pub const UNSUPPORTED: SpanTraceStatus = _
Formatting a SpanTrace is not supported, likely because there is no ErrorLayer or the ErrorLayer is from a different version of tracing_error
sourcepub const EMPTY: SpanTraceStatus = _
pub const EMPTY: SpanTraceStatus = _
The SpanTrace is empty, likely because it was captured outside of any
span
s
sourcepub const CAPTURED: SpanTraceStatus = _
pub const CAPTURED: SpanTraceStatus = _
A span trace has been captured and the SpanTrace
should print
reasonable information when rendered.
Trait Implementations§
source§impl Debug for SpanTraceStatus
impl Debug for SpanTraceStatus
source§impl PartialEq for SpanTraceStatus
impl PartialEq for SpanTraceStatus
source§fn eq(&self, other: &SpanTraceStatus) -> bool
fn eq(&self, other: &SpanTraceStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpanTraceStatus
impl StructuralEq for SpanTraceStatus
impl StructuralPartialEq for SpanTraceStatus
Auto Trait Implementations§
impl RefUnwindSafe for SpanTraceStatus
impl Send for SpanTraceStatus
impl Sync for SpanTraceStatus
impl Unpin for SpanTraceStatus
impl UnwindSafe for SpanTraceStatus
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