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
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;
Notable traits for InstrumentedFuture<F>
impl<F: Future> Future for InstrumentedFuture<F> type Output = <F as Future>::Output;Convert this future into an InstrumentedFuture.