Expand description
Memory backend abstraction โ the strategy pattern for storage.
MemoryBackend unifies the JSON file-based path and the SQLite backend
behind a single trait. MemoryManager delegates all CRUD to whichever
backend is active, eliminating #[cfg] branching in business logic.
The JSON path is implemented by MemoryManager itself (via state_store).
The SQLite path is implemented by SqliteMemoryStore.
Traitsยง
- Memory
Backend - Storage backend strategy for memory CRUD.