Trait polkadot_node_subsystem::gen::TimeoutExt
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.