Mutable access to a tenant's partition, if it exists.
(&mut self, tid: TenantId)
| 69 | |
| 70 | /// Mutable access to a tenant's partition, if it exists. |
| 71 | pub fn partition_mut(&mut self, tid: TenantId) -> Option<&mut CsrIndex> { |
| 72 | self.partitions.get_mut(&tid) |
| 73 | } |
| 74 | |
| 75 | /// Mutable access to a tenant's partition, creating an empty one |
| 76 | /// on first use. |
no test coverage detected