Module retainer::entry[][src]

Small structures based around entries in the cache.

Each entry has an associated value and optional expiration, and access functions for both. To be more convenient to the called, a CacheEntry<V> will also dereference to V.

Structs

CacheEntry

Represents an entry inside the cache.

CacheEntryReadGuard

Read guard for references to the inner cache structure.

CacheExpiration

Small structure to represent expiration in a cache.