Trait IntoInstrumentedFuture

Source
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§

Source

type Future: Future

The underlying to be instrumented.

Required Methods§

Source

fn into_instrumented_future(self) -> InstrumentedFuture<Self::Future>

Convert this future into an InstrumentedFuture.

Implementors§