Expand description
§Storage Abstraction
Unified trait for storage backends (Turso, redb, etc.)
This allows the memory system to work with different storage implementations transparently, supporting both durable (Turso) and cache (redb) layers.
Modules§
- circuit_
breaker - Circuit Breaker Pattern for Storage Resilience
Constants§
- DEFAULT_
QUERY_ LIMIT - Default limit for query operations (when not specified)
- MAX_
QUERY_ LIMIT - Maximum limit for query operations (prevents OOM)
Traits§
- Storage
Backend - Unified storage backend trait
Functions§
- apply_
query_ limit - Apply limit with defaults and bounds checking.