Skip to main content

Module storage

Module storage 

Source
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§

StorageBackend
Unified storage backend trait

Functions§

apply_query_limit
Apply limit with defaults and bounds checking.