Lines Matching refs:Fut
14 ($Join:ident, <$($Fut:ident),*>),
19 pub struct $Join<$($Fut: Future),*> {
20 $(#[pin] $Fut: MaybeDone<$Fut>,)*
24 impl<$($Fut),*> fmt::Debug for $Join<$($Fut),*>
27 $Fut: Future + fmt::Debug,
28 $Fut::Output: fmt::Debug,
33 $(.field(stringify!($Fut), &self.$Fut))*
38 impl<$($Fut: Future),*> $Join<$($Fut),*> {
39 fn new($($Fut: $Fut),*) -> Self {
41 $($Fut: maybe_done($Fut)),*
46 impl<$($Fut: Future),*> Future for $Join<$($Fut),*> {
47 type Output = ($($Fut::Output),*);
55 all_done &= futures.$Fut.as_mut().poll(cx).is_ready();
59 Poll::Ready(($(futures.$Fut.take_output().unwrap()), *))
66 impl<$($Fut: FusedFuture),*> FusedFuture for $Join<$($Fut),*> {
69 self.$Fut.is_terminated()