Trait stop_token::future::FutureExt [−][src]
pub trait FutureExt: Future {
fn until<T, D>(self, target: T) -> Stop<Self, D>ⓘ
where
Self: Sized,
T: IntoDeadline<Deadline = D>,
{ ... }
}Expand description
Extend the Future trait with the until method.
Provided methods
Run a future until it resolves, or until a deadline is hit.