Struct metrics_tracing_context::TracingContextLayer [−][src]
pub struct TracingContextLayer<F> { /* fields omitted */ }
Expand description
TracingContextLayer
provides an implementation of a Layer
for TracingContext
.
Implementations
impl<F> TracingContextLayer<F>
[src]
impl<F> TracingContextLayer<F>
[src]pub fn new(label_filter: F) -> Self
[src]
pub fn new(label_filter: F) -> Self
[src]Creates a new TracingContextLayer
.
impl TracingContextLayer<IncludeAll>
[src]
impl TracingContextLayer<IncludeAll>
[src]pub fn all() -> Self
[src]
pub fn all() -> Self
[src]Creates a new TracingContextLayer
.
Trait Implementations
impl<R, F> Layer<R> for TracingContextLayer<F> where
F: Clone,
[src]
impl<R, F> Layer<R> for TracingContextLayer<F> where
F: Clone,
[src]type Output = TracingContext<R, F>
type Output = TracingContext<R, F>
The output type after wrapping.
Auto Trait Implementations
impl<F> RefUnwindSafe for TracingContextLayer<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for TracingContextLayer<F> where
F: Send,
F: Send,
impl<F> Sync for TracingContextLayer<F> where
F: Sync,
F: Sync,
impl<F> Unpin for TracingContextLayer<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for TracingContextLayer<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T