Skip to main content

Crate skg_state_memory

Crate skg_state_memory 

Source
Expand description

In-memory implementation of layer0’s StateStore trait.

Uses a HashMap behind a RwLock for concurrent access. Scopes are serialized to strings for use as key prefixes, providing full scope isolation. Supports optional LRU eviction via MemoryStore::bounded and basic case-insensitive substring search.

Structs§

MemoryStore
In-memory state store backed by a HashMap behind a RwLock.