(&mut self)
| 31 | } |
| 32 | |
| 33 | pub async fn wait(&mut self) { |
| 34 | if let Some(pollable) = self.pollable.as_mut() { |
| 35 | pollable.wait_for().await; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | pub fn result(mut self, d: &Debuggee) -> std::result::Result<Event, Error> { |
| 40 | // Drop the pollable first, since it's a child resource. |