Crate cache[][src]

In-memory fixed-size cache for arbitrary types.

Primarily intended for content-addressable storage, where the key uniquely identifies a value.

Structs

Cache

A thread-safe concurrent cache from key K to arbitrarily typed values

Enums

Cached

A reference type to a value in the cache, either carrying the value itself (if an insert failed), or a readlock into the memory slab.