Module backend

Source
Expand description

The persistence backends of the Database.

A file is a Backend through the FileBackend, so is a Vec<u8> with a MemoryBackend.

Implementing your own Backend should be straightforward. Check the Backend documentation for details.

Structs§

FileBackend
A backend using a file.
MemoryBackend
An in memory backend.
MmapStorage
A backend that uses an nonymous mmap.
PathBackend
A Backend using a file given the path.

Traits§

Backend
The Backend Trait.