Access or create a partition via the `Entry` API, for cases that need conditional initialization with a non-default constructor.
(&mut self, tid: TenantId)
| 158 | /// Access or create a partition via the `Entry` API, for cases that |
| 159 | /// need conditional initialization with a non-default constructor. |
| 160 | pub fn entry(&mut self, tid: TenantId) -> Entry<'_, TenantId, CsrIndex> { |
| 161 | self.partitions.entry(tid) |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | impl Default for ShardedCsrIndex { |
no outgoing calls