Skip to main content

Module ttl_cache

Module ttl_cache 

Source
Expand description

Generic TTL cache with positive/negative entries and per-key in-flight locks.

Pure policy: no I/O, no knowledge of DIDs or gateways.

Structs§

TtlCache
String-keyed cache where hits and misses expire on independent TTLs.

Enums§

Cached
A cached outcome: a successful value or a remembered failure detail.