(&mut self)
| 138 | #[async_trait::async_trait] |
| 139 | impl wasmtime_wasi_io::poll::Pollable for EventFuture { |
| 140 | async fn ready(&mut self) { |
| 141 | match &mut self.state { |
| 142 | EventFutureState::Running(future) => { |
| 143 | let (inner, result) = future.await; |
| 144 | self.state = EventFutureState::Done { |
| 145 | inner, |
| 146 | result: Some(result), |
| 147 | }; |
| 148 | } |
| 149 | EventFutureState::Done { .. } => {} |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | /// Representation of a frame within a debuggee. |