Return a reference to the indicated compute instance.
(&self, id: ComputeInstanceId)
| 332 | |
| 333 | /// Return a reference to the indicated compute instance. |
| 334 | fn instance(&self, id: ComputeInstanceId) -> Result<&InstanceState, InstanceMissing> { |
| 335 | self.instances.get(&id).ok_or(InstanceMissing(id)) |
| 336 | } |
| 337 | |
| 338 | /// Return an `InstanceClient` for the indicated compute instance. |
| 339 | pub fn instance_client( |
no test coverage detected