Skip to main content

Module traits

Module traits 

Source
Expand description

Storage trait abstractions for post-cortex.

This module defines the core storage traits that allow different backends (RocksDB, SurrealDB, etc.) to be used interchangeably.

Structs§

FreshnessReportExt
Report returned when checking if sources are still fresh
StaleEntryInfo
A source_reference entry that is marked stale (status=1) — i.e. it was invalidated by invalidate_source or cascade_invalidate but has not yet been re-registered. Returned by get_stale_entries_by_source.
StorageConfig
Storage configuration for backend selection
SurrealDBConfig
SurrealDB-specific configuration

Enums§

StorageBackend
Unified storage backend enum for runtime selection.
StorageBackendType
Storage backend type

Traits§

FreshnessStorage
Storage trait for source freshness tracking.
GraphStorage
Extended storage trait for graph-native operations.
Storage
This trait defines the fundamental storage operations required for session management, context updates, and workspace persistence.
VectorStorage
Vector storage trait for semantic search.