iota_metrics

Trait GaugeGuardFutureExt

Source
pub trait GaugeGuardFutureExt: Future + Sized {
    // Required method
    fn count_in_flight(self, g: &IntGauge) -> GaugeGuardFuture<'_, Self> ;
}

Required Methods§

Source

fn count_in_flight(self, g: &IntGauge) -> GaugeGuardFuture<'_, Self>

Count number of in flight futures running

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§