Trait prometheus_utils::IntoInstrumentedFuture[][src]

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.

Associated Types

The underlying to be instrumented.

Required methods

Convert this future into an InstrumentedFuture.

Implementors