Whether the cache is empty.
(&self)
| 312 | |
| 313 | /// Whether the cache is empty. |
| 314 | pub fn is_empty(&self) -> bool { |
| 315 | self.total == 0 |
| 316 | } |
| 317 | |
| 318 | /// Total lookup count (hits + misses). |
| 319 | pub fn total_lookups(&self) -> u64 { |
no outgoing calls
no test coverage detected