Expand description
MemoryService — the primary facade over SurrealStorage.
Wraps the surreal-memory MemoryStorage trait implementation with UAR-level
scope enforcement, error handling, and logging. All callers should use this
struct rather than accessing SurrealStorage directly.
Construction and concrete database capabilities require surreal-backend.
Structs§
- Memory
Close Report - The acknowledged result of closing memory’s local scope.
- Memory
Live Stream - A scope-accounted memory live query.
- Memory
Service - Facade over
SurrealStoragewith scope-aware helpers. - Memory
Subscription Client - An admitted, table-scoped client for the memory database’s lifecycle-owned realtime source. It deliberately does not expose the raw database handle. The caller owns every stream it obtains and must close each stream before the memory scope is released.
Enums§
- Memory
Storage Ownership - Who owns the database engine behind this memory facade.