Trait polkadot_node_subsystem::TimeoutExt
source · pub trait TimeoutExt: Future {
// Provided method
fn timeout(self, duration: Duration) -> Timeout<Self> ⓘ
where Self: Sized { ... }
}
Expand description
Extends Future
to allow time-limited futures.