Expand description
Generic cache abstraction for authz resolution caches.
Provides AuthzCache<V> trait and a NoopCache implementation that never
stores entries. The trait is intentionally minimal so that authz-core
stays dependency-light — concrete backends (e.g. moka) live in downstream
crates.
Structs§
- Noop
Cache - A cache that never stores anything — every
getreturnsNone.
Traits§
- Authz
Cache - Generic cache abstraction for authz resolution caches.
- Cache
Metrics - Cache performance metrics.
Functions§
- noop_
cache - Convenience helper: create a
NoopCachewrapped in anArc.