Skip to main content

Module cache

Module cache 

Source
Expand description

Unified caching abstraction — IDistributedCache trait + MemoryCache implementation.

Re-exports§

pub use cache_ext::DistributedCacheExtensions;
pub use options::DistributedCacheEntryOptions;
pub use trait_def::CacheError;
pub use trait_def::IDistributedCache;
pub use trait_def::Result as CacheResult;

Modules§

cache_ext
Typed cache extensions — matches ASP.NET Core’s DistributedCacheExtensions.
options
Distributed cache entry options — matches ASP.NET Core’s DistributedCacheEntryOptions.
trait_def
Core caching trait — IDistributedCache.