Module daybreak::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

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

Traits

The Backend Trait.