Searched defs:IntoFuture (Results 1 – 10 of 10) sorted by relevance
108 pub trait IntoFuture { interface115 type IntoFuture: Future<Output = Self::Output>; typedef134 fn into_future(self) -> Self::IntoFuture; in into_future()140 type IntoFuture = F; typedef142 fn into_future(self) -> Self::IntoFuture { in into_future()
108 pub trait IntoFuture { trait115 type IntoFuture: Future<Output = Self::Output>; typedef134 fn into_future(self) -> Self::IntoFuture; in into_future()140 type IntoFuture = F; typedef142 fn into_future(self) -> Self::IntoFuture { in into_future()
16 impl<Fut> IntoFuture<Fut> { impl23 impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut> { implementation29 impl<Fut: TryFuture> Future for IntoFuture<Fut> { implementation
86 pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F::IntoFuture> in timeout()145 pub fn timeout_at<F>(deadline: Instant, future: F) -> Timeout<F::IntoFuture> in timeout_at()
168 type IntoFuture = std::future::Ready<()>; in join_into_future() typedef170 fn into_future(self) -> Self::IntoFuture { in join_into_future()
701 type IntoFuture = std::future::Ready<()>; in select_into_future() typedef703 fn into_future(self) -> Self::IntoFuture { in select_into_future()
26 pub fn maybe_done<F: IntoFuture>(future: F) -> MaybeDone<F::IntoFuture> { in maybe_done()