Provides a cache for asynchronous operations that persist data on the filesystem using sled.
The async cache works by accepting a future, but will cancel the accepted future in case the answer is already in the cache.
It requires unique cache keys that are
serde serializable. To distinguish across different
sub-components of the cache, they can be namespaces using
Primary cache abstraction.
ISO 8601 time duration with nanosecond precision. This also allows for the negative duration; see individual methods for details.
Entry which have had its type erased into a JSON representation for convenience.
A complete stored entry with a type.
A reference to a complete stored entry with a type.
Error type for the cache.
Represents the state of an entry.