logo
pub trait SubscriberExt: Subscriber + Sealed {
    fn with<L>(self, layer: L) -> Layered<L, Self>Notable traits for Layered<A, B, S>impl<S, A, B> Layer<S> for Layered<A, B, S> where
    A: Layer<S>,
    B: Layer<S>,
    S: Subscriber

    where
        L: Layer<Self>,
        Self: Sized
, { ... } }
Expand description

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

Provided methods

Wraps self with the provided layer.

Implementors