mod memory#

module memory#

In-memory backend useful for tests and local-only runtime state. In-memory adaptive storage backend.

Structs and Unions

struct InMemoryBackend#

In-memory backend storing adaptive state in process-local hash maps.

This backend is primarily useful for tests, examples, or deployments where adaptive state does not need to survive process restarts.

Implementations

impl InMemoryBackend#

Functions

fn new() -> Self#

Create an empty in-memory backend.

Returns

A new InMemoryBackend with empty storage maps.

Traits implemented

impl Default for InMemoryBackend#
impl StorageBackend for InMemoryBackend#
impl StorageBackendDyn for InMemoryBackend#