[][src]Struct metrics_tracing_context::TracingContextLayer

pub struct TracingContextLayer<F> { /* fields omitted */ }

TracingContextLayer provides an implementation of a Layer for TracingContext.

Implementations

impl<F> TracingContextLayer<F>[src]

pub fn new(label_filter: F) -> Self[src]

Creates a new TracingContextLayer.

impl TracingContextLayer<IncludeAll>[src]

pub fn all() -> Self[src]

Creates a new TracingContextLayer.

Trait Implementations

impl<R, F> Layer<R> for TracingContextLayer<F> where
    F: Clone
[src]

type Output = TracingContext<R, F>

The output type after wrapping.

Auto Trait Implementations

impl<F> RefUnwindSafe for TracingContextLayer<F> where
    F: RefUnwindSafe
[src]

impl<F> Send for TracingContextLayer<F> where
    F: Send
[src]

impl<F> Sync for TracingContextLayer<F> where
    F: Sync
[src]

impl<F> Unpin for TracingContextLayer<F> where
    F: Unpin
[src]

impl<F> UnwindSafe for TracingContextLayer<F> where
    F: UnwindSafe
[src]

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> Pointable for T

type Init = T

The type for initializers.

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.