Module future

Source
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.
CacheBuilder
Builds a Cache with various configuration knobs.
Iter
Iterator visiting all key-value pairs in a cache in arbitrary order.
OwnedKeyEntrySelector
Provides advanced methods to select or insert an entry of the cache.
RefKeyEntrySelector
Provides advanced methods to select or insert an entry of the cache.

Traits§

FutureExt

Type Aliases§

PredicateId
The type of the unique ID to identify a predicate used by Cache::invalidate_entries_if method.