Skip to main content

Crate pdk_cache_lib

Crate pdk_cache_lib 

Source
Expand description

Cache Library

A caching library that provides a simple Cache trait and a FIFO-based in-memory implementation. It is designed to be injected and configured during the policy configuration phase and supports both policy-isolated and shared caches across policies.

This library provides data storage functionality with support for:

Modules§

builder
Primitives for building a cache
error
Possible errors encountered during the usage of a crate::Cache

Traits§

Cache
Represents a cache. It stores each element as a new entry.