[−][src]Struct tracing_error::SpanTraceStatus
The current status of a SpanTrace, indicating whether it was captured or whether it is empty for some other reason.
Methods
impl SpanTraceStatus[src]
pub const UNSUPPORTED: SpanTraceStatus[src]
Formatting a SpanTrace is not supported, likely because there is no ErrorLayer or the ErrorLayer is from a different version of tracing_error
pub const EMPTY: SpanTraceStatus[src]
The SpanTrace is empty, likely because it was captured outside of any
spans
pub const CAPTURED: SpanTraceStatus[src]
A span trace has been captured and the SpanTrace should print
reasonable information when rendered.
Trait Implementations
impl Debug for SpanTraceStatus[src]
impl Eq for SpanTraceStatus[src]
impl PartialEq<SpanTraceStatus> for SpanTraceStatus[src]
fn eq(&self, other: &SpanTraceStatus) -> bool[src]
fn ne(&self, other: &SpanTraceStatus) -> bool[src]
impl StructuralEq for SpanTraceStatus[src]
impl StructuralPartialEq for SpanTraceStatus[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,