Return a mutable reference to the indicated compute instance.
(
&mut self,
id: ComputeInstanceId,
)
| 345 | |
| 346 | /// Return a mutable reference to the indicated compute instance. |
| 347 | fn instance_mut( |
| 348 | &mut self, |
| 349 | id: ComputeInstanceId, |
| 350 | ) -> Result<&mut InstanceState, InstanceMissing> { |
| 351 | self.instances.get_mut(&id).ok_or(InstanceMissing(id)) |
| 352 | } |
| 353 | |
| 354 | /// List the IDs of all collections in the identified compute instance. |
| 355 | pub fn collection_ids( |
no test coverage detected