pub trait IntoInstrumentedFuture {
type Future: Future;
// Required method
fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future> ⓘ;
}Expand description
Convert a Future into an instrumented future.
See the InstrumentedFuture documentation for more information.
Required Associated Types§
Required Methods§
Sourcefn into_instrumented_future(self) -> InstrumentedFuture<Self::Future> ⓘ
fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future> ⓘ
Convert this future into an InstrumentedFuture.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".