Structs§
- A cache enforcing time expiration and an optional maximum size. When a maximum size is specified, the values are dropped in the order of expiration date, e.g. the next value to expire is dropped. This cache is intended for high read scenarios to allow for concurrent reads while still enforcing expiration and an optional maximum cache size.
- Expiring Value Cache
- Least Recently Used /
Sized
Cache - Cache store bound by time
- Timed LRU Cache
- Default unbounded cache
Traits§
- The
CanExpire
trait defines a function for implementations to determine if the value has expired.