Get all keys currently in the cache (for debugging)
(&self)
| 554 | |
| 555 | /// Get all keys currently in the cache (for debugging) |
| 556 | pub fn keys(&self) -> Vec<K> { |
| 557 | self.entries.read().keys().cloned().collect() |
| 558 | } |
| 559 | |
| 560 | /// Get the number of entries in the cache |
| 561 | pub fn len(&self) -> usize { |