Struct tracing_subscriber::layer::Layered [−][src]
A Subscriber composed of a Subscriber wrapped by one or more
Layers.
Trait Implementations
impl<L: Clone, I: Clone, S: Clone> Clone for Layered<L, I, S>[src]
impl<L: Debug, I: Debug, S: Debug> Debug for Layered<L, I, S>[src]
impl<S, A, B> Layer<S> for Layered<A, B, S> where
A: Layer<S>,
B: Layer<S>,
S: Subscriber, [src]
A: Layer<S>,
B: Layer<S>,
S: Subscriber,
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]
S: Subscriber + LookupSpan<'a>,
type Data = S::Data
The type of span data stored in this registry.
fn span_data(&'a self, id: &Id) -> Option<Self::Data>[src]
fn span(&'a self, id: &Id) -> Option<SpanRef<'_, Self>> where
Self: Sized, [src]
Self: Sized,
impl<L, S> Subscriber for Layered<L, S> where
L: Layer<S>,
S: Subscriber, [src]
L: Layer<S>,
S: Subscriber,
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> 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<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<S> SubscriberExt for S where
S: Subscriber, [src]
S: Subscriber,
impl<T> SubscriberInitExt for T where
T: Into<Dispatch>, [src]
T: Into<Dispatch>,
fn set_default(self) -> DefaultGuard[src]
fn try_init(self) -> Result<(), TryInitError>[src]
fn init(self)[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,