Expand description
§Module: Persistence
§Responsibility
Provides a pluggable persistence backend trait and a FilePersistenceBackend
that stores serialized state as files on disk using tokio::fs.
§Guarantees
PersistenceBackendis object-safe viaasync-traitFilePersistenceBackendstores each key as a file in a configurable directory- Non-panicking: all operations return
Result
§Feature Gate
This module is only compiled when the persistence feature is enabled.
Structs§
- File
Persistence Backend - Persists data as files in a directory on disk.
Traits§
- Persistence
Backend - Pluggable storage backend for agent state (memory, graph, session checkpoints).