Trait tracing_log::AsTrace[][src]

pub trait AsTrace: Sealed {
    type Trace;
    fn as_trace(&self) -> Self::Trace;
}

Trait implemented for log types that can be converted to a tracing equivalent.

Associated Types

type Trace[src]

The tracing type that this type can be converted into.

Loading content...

Required methods

fn as_trace(&self) -> Self::Trace[src]

Returns the tracing equivalent of self.

Loading content...

Implementations on Foreign Types

impl<'a> AsTrace for Metadata<'a>[src]

type Trace = Metadata<'a>

impl<'a> AsTrace for Record<'a>[src]

type Trace = Metadata<'a>

impl AsTrace for Level[src]

type Trace = Level

impl AsTrace for LevelFilter[src]

Loading content...

Implementors

Loading content...