Expand description
Cache implementations for the repolith orchestration engine.
The Cache trait and CacheError type are defined in
repolith_core::cache and re-exported here for convenience. This crate
hosts the concrete backends (SQLite, in-memory, …) that satisfy the trait.
Re-exports§
pub use sqlite::SqliteCache;pub use namespaced::NamespacedCache;
Modules§
- namespaced
- Namespacing decorator — prefixes ids so multiple stacks can share one
backend without collisions. See
namespaced::NamespacedCache.NamespacedCache— decorator that prefixes everyActionIdbefore it reaches the inner backend. - sqlite
- SQLite-backed
Cacheimplementation. Seesqlite::SqliteCache. SQLite-backedCacheimplementation.
Enums§
- Cache
Error - Errors that can occur during cache operations.
Traits§
Type Aliases§
- Result
- A specialized
Resulttype for cache operations.