Expand description
Provides a thread-safe, concurrent asynchronous (futures aware) cache implementation.
To use this module, enable a crate feature called “future”.
Structs§
- Cache
- A thread-safe, futures-aware concurrent in-memory cache.
- Cache
Builder - Builds a
Cache
with various configuration knobs. - Iter
- Iterator visiting all key-value pairs in a cache in arbitrary order.
- Owned
KeyEntry Selector - Provides advanced methods to select or insert an entry of the cache.
- RefKey
Entry Selector - Provides advanced methods to select or insert an entry of the cache.
Traits§
Type Aliases§
- Predicate
Id - The type of the unique ID to identify a predicate used by
Cache::invalidate_entries_if
method.