common_telemetry::tracing_context

Trait FutureExt

source
pub trait FutureExt: Future + Sized {
    // Required method
    fn trace(self, span: Span) -> Instrumented<Self>;
}

Required Methods§

source

fn trace(self, span: Span) -> Instrumented<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<T: Future> FutureExt for T