(&mut self, vm: VmState)
| 1264 | |
| 1265 | impl AppState { |
| 1266 | pub fn add(&mut self, vm: VmState) { |
| 1267 | self.vms.insert(vm.config.manifest.id.clone(), vm); |
| 1268 | } |
| 1269 | |
| 1270 | pub fn get(&self, id: &str) -> Option<&VmState> { |
| 1271 | self.vms.get(id) |
no test coverage detected