Trait tracing_subscriber::layer::SubscriberExt[][src]

pub trait SubscriberExt: Subscriber + Sealed {
    fn with<L>(self, layer: L) -> Layered<L, Self>
    where
        L: Layer<Self>,
        Self: Sized
, { ... } }

Extension trait adding a with(Layer) combinator to Subscribers.

Provided methods

fn with<L>(self, layer: L) -> Layered<L, Self> where
    L: Layer<Self>,
    Self: Sized
[src]

Wraps self with the provided layer.

Loading content...

Implementors

impl<S: Subscriber> SubscriberExt for S[src]

Loading content...