Skip to main content

InflightGuardFutureExt

Trait InflightGuardFutureExt 

Source
pub trait InflightGuardFutureExt: Future + Sized {
    // Required method
    fn count_in_flight(self, g: IntGauge) -> InflightGuardFuture<Self> ;
}

Required Methods§

Source

fn count_in_flight(self, g: IntGauge) -> InflightGuardFuture<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".

Implementors§