Try to wait for the next event in this stream. Any errors are likely to be fatal, i.e. any calls afterwards will likely error as well.
(&mut self)
| 826 | /// Try to wait for the next event in this stream. Any errors are likely to be fatal, i.e. |
| 827 | /// any calls afterwards will likely error as well. |
| 828 | pub async fn next_event(&mut self) -> io::Result<InputEvent> { |
| 829 | poll_fn(|cx| self.poll_event(cx)).await |
| 830 | } |
| 831 | |
| 832 | /// A lower-level function for directly polling this stream. |
| 833 | pub fn poll_event(&mut self, cx: &mut Context<'_>) -> Poll<io::Result<InputEvent>> { |
nothing calls this directly
no test coverage detected