(&self, id: &str)
| 282 | } |
| 283 | |
| 284 | pub async fn stop_vm(&self, id: &str) -> Result<()> { |
| 285 | self.set_started(id, false)?; |
| 286 | self.cleanup_port_forward(id).await; |
| 287 | self.supervisor.stop(id).await?; |
| 288 | Ok(()) |
| 289 | } |
| 290 | |
| 291 | pub async fn remove_vm(&self, id: &str) -> Result<()> { |
| 292 | { |
nothing calls this directly
no test coverage detected