Check if the cache is empty
(&self)
| 564 | |
| 565 | /// Check if the cache is empty |
| 566 | pub fn is_empty(&self) -> bool { |
| 567 | self.entries.read().is_empty() |
| 568 | } |
| 569 | |
| 570 | /// Get entries that will expire within the given duration |
| 571 | pub fn entries_expiring_within(&self, duration: Duration) -> Vec<K> { |
no test coverage detected