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
impl Eq for SpanTraceStatus
impl StructuralPartialEq for SpanTraceStatus
Auto Trait Implementations§
impl Freeze for SpanTraceStatus
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