pub trait IntoInstrumentedFuture {
type Future: Future;
fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future>ⓘNotable traits for InstrumentedFuture<F>impl<F: Future> Future for InstrumentedFuture<F> type Output = <F as Future>::Output;
;
}
Expand description
Convert a Future
into an instrumented future.
See the InstrumentedFuture
documentation for more information.
Required Associated Types
Required Methods
fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future>ⓘNotable traits for InstrumentedFuture<F>impl<F: Future> Future for InstrumentedFuture<F> type Output = <F as Future>::Output;
fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future>ⓘNotable traits for InstrumentedFuture<F>impl<F: Future> Future for InstrumentedFuture<F> type Output = <F as Future>::Output;
Convert this future into an InstrumentedFuture
.