Module in_memory

Module in_memory 

Source
Expand description

In-memory backend for tests.

This provides a Backend backed by a HashMap, removing the need for filesystem tempdir management in unit tests. The backend is Clone so tests can hold a handle for direct inspection while the service owns a boxed copy.

Structs§

InMemoryBackend
In-memory Backend backed by a HashMap.

Enums§

Entry
Type returned by InMemoryBackend::get for direct inspection of stored entries.