(
mut inner: Box<dyn OpaqueDebugger + Send + 'static>,
resumption: wit::ResumptionValue,
)
| 105 | |
| 106 | impl EventFuture { |
| 107 | fn new_single_step( |
| 108 | mut inner: Box<dyn OpaqueDebugger + Send + 'static>, |
| 109 | resumption: wit::ResumptionValue, |
| 110 | ) -> Self { |
| 111 | EventFuture { |
| 112 | state: EventFutureState::Running(Box::pin(async move { |
| 113 | if let Err(e) = inner.handle_resumption(&resumption).await { |
| 114 | return (inner, Err(e)); |
| 115 | } |
| 116 | let result = inner.single_step().await; |
| 117 | (inner, result) |
| 118 | })), |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | fn new_continue( |
| 123 | mut inner: Box<dyn OpaqueDebugger + Send + 'static>, |
nothing calls this directly
no test coverage detected