Expand description
Persistent caching backends for OCR results.
This module provides persistent storage options for OCR results:
- Redis backend for distributed caching
- SQLite backend for local persistent cache
- Cache statistics and metrics
- Configurable eviction policies (LRU, LFU)
Structs§
- Cache
Stats - Cache statistics.
- Persistent
Cache - Persistent cache wrapper that uses a backend.
- Redis
Backend - Redis cache backend (stub - full implementation requires redis crate).
- Redis
Config - Redis cache backend configuration.
- Sqlite
Backend - SQLite cache backend (stub - full implementation requires rusqlite crate).
- Sqlite
Config - SQLite cache backend configuration.
Enums§
- Eviction
Policy - Cache eviction policy.
Traits§
- Cache
Backend - Cache backend trait for persistent storage.