Build the canonical token string for `snapshot_id` / `element_index`. Pure helper, mirrors the [`format_token`] free function but lives on the registry so callers don't have to import it.
(snapshot_id: u32, element_index: usize)
| 218 | /// Pure helper, mirrors the [`format_token`] free function but lives on |
| 219 | /// the registry so callers don't have to import it. |
| 220 | pub fn format(snapshot_id: u32, element_index: usize) -> String { |
| 221 | format_token(snapshot_id, element_index) |
| 222 | } |
| 223 | |
| 224 | /// Test-only: snapshot count for a pid. Used by the LRU-eviction unit test |
| 225 | /// to assert the cap was honoured. |
no test coverage detected