Check if a key is in the cache without updating access time.
(&self, key: &K)
| 99 | |
| 100 | /// Check if a key is in the cache without updating access time. |
| 101 | pub(crate) fn contains_key(&self, key: &K) -> bool { |
| 102 | self.entries.contains_key(key) |
| 103 | } |
| 104 | |
| 105 | /// Evict the least recently used entry. |
| 106 | fn evict_lru(&mut self) { |
no outgoing calls