Trait polkadot_overseer::TimeoutExt[][src]

pub trait TimeoutExt: Future {
    fn timeout(self, duration: Duration) -> Timeout<Self> { ... }
}
Expand description

Extends Future to allow time-limited futures.

Provided methods

Adds a timeout of duration to the given Future. Returns a new Future.

Implementors