Struct tracing_subscriber::layer::Layered [−][src]
pub struct Layered<L, I, S = I> { /* fields omitted */ }A Subscriber composed of a Subscriber wrapped by one or more
Layers.
Trait Implementations
impl<S, A, B> Layer<S> for Layered<A, B, S> where
A: Layer<S>,
B: Layer<S>,
S: Subscriber, [src]
impl<S, A, B> Layer<S> for Layered<A, B, S> where
A: Layer<S>,
B: Layer<S>,
S: Subscriber, [src]fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest[src]
fn enabled(&self, metadata: &Metadata<'_>, ctx: Context<'_, S>) -> bool[src]
fn new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>)[src]
fn on_record(&self, span: &Id, values: &Record<'_>, ctx: Context<'_, S>)[src]
fn on_follows_from(&self, span: &Id, follows: &Id, ctx: Context<'_, S>)[src]
fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>)[src]
fn on_enter(&self, id: &Id, ctx: Context<'_, S>)[src]
fn on_exit(&self, id: &Id, ctx: Context<'_, S>)[src]
fn on_close(&self, id: Id, ctx: Context<'_, S>)[src]
fn on_id_change(&self, old: &Id, new: &Id, ctx: Context<'_, S>)[src]
fn and_then<L>(self, layer: L) -> Layered<L, Self, S> where
L: Layer<S>,
Self: Sized, [src]
L: Layer<S>,
Self: Sized,
fn with_subscriber(self, inner: S) -> Layered<Self, S> where
Self: Sized, [src]
Self: Sized,
impl<'a, L, S> LookupSpan<'a> for Layered<L, S> where
S: Subscriber + LookupSpan<'a>, [src]
impl<'a, L, S> LookupSpan<'a> for Layered<L, S> where
S: Subscriber + LookupSpan<'a>, [src]impl<L, S> Subscriber for Layered<L, S> where
L: Layer<S>,
S: Subscriber, [src]
impl<L, S> Subscriber for Layered<L, S> where
L: Layer<S>,
S: Subscriber, [src]fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest[src]
fn enabled(&self, metadata: &Metadata<'_>) -> bool[src]
fn max_level_hint(&self) -> Option<LevelFilter>[src]
fn new_span(&self, span: &Attributes<'_>) -> Id[src]
fn record(&self, span: &Id, values: &Record<'_>)[src]
fn record_follows_from(&self, span: &Id, follows: &Id)[src]
fn event(&self, event: &Event<'_>)[src]
fn enter(&self, span: &Id)[src]
fn exit(&self, span: &Id)[src]
fn clone_span(&self, old: &Id) -> Id[src]
fn drop_span(&self, id: Id)[src]
fn try_close(&self, id: Id) -> bool[src]
fn current_span(&self) -> Current[src]
pub unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>[src]
Auto Trait Implementations
impl<L, I, S> RefUnwindSafe for Layered<L, I, S> where
I: RefUnwindSafe,
L: RefUnwindSafe,
I: RefUnwindSafe,
L: RefUnwindSafe,
impl<L, I, S> Send for Layered<L, I, S> where
I: Send,
L: Send,
I: Send,
L: Send,
impl<L, I, S> Sync for Layered<L, I, S> where
I: Sync,
L: Sync,
I: Sync,
L: Sync,
impl<L, I, S> Unpin for Layered<L, I, S> where
I: Unpin,
L: Unpin,
I: Unpin,
L: Unpin,
impl<L, I, S> UnwindSafe for Layered<L, I, S> where
I: UnwindSafe,
L: UnwindSafe,
I: UnwindSafe,
L: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<S> SubscriberExt for S where
S: Subscriber, [src]
impl<S> SubscriberExt for S where
S: Subscriber, [src]impl<T> SubscriberInitExt for T where
T: Into<Dispatch>, [src]
impl<T> SubscriberInitExt for T where
T: Into<Dispatch>, [src]