[][src]Struct tracing_error::SpanTraceStatus

pub struct 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]

impl StructuralEq for SpanTraceStatus[src]

impl StructuralPartialEq for SpanTraceStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.