(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
| 49 | type Output = Result<T, JoinError>; |
| 50 | |
| 51 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { |
| 52 | self.as_mut().poll_join(cx) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | /// Two-phase cancellation for a simulated task. |