[][src]Struct tracing_subscriber::fmt::format::FmtSpan

pub struct FmtSpan(_);
This is supported on crate feature fmt only.

Configures what points in the span lifecycle are logged as events.

See also with_span_events.

Implementations

impl FmtSpan[src]

pub const NONE: FmtSpan[src]

spans are ignored (this is the default)

pub const ACTIVE: FmtSpan[src]

one event per enter/exit of a span

pub const CLOSE: FmtSpan[src]

one event when the span is dropped

pub const FULL: FmtSpan[src]

events at all points (new, enter, exit, drop)

Trait Implementations

impl Clone for FmtSpan[src]

impl Debug for FmtSpan[src]

impl Eq for FmtSpan[src]

impl Ord for FmtSpan[src]

impl PartialEq<FmtSpan> for FmtSpan[src]

impl PartialOrd<FmtSpan> for FmtSpan[src]

impl StructuralEq for FmtSpan[src]

impl StructuralPartialEq for FmtSpan[src]

Auto Trait Implementations

impl RefUnwindSafe for FmtSpan

impl Send for FmtSpan

impl Sync for FmtSpan

impl Unpin for FmtSpan

impl UnwindSafe for FmtSpan

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> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.