Module lol_core::storage

source ·
Expand description

The abstraction of the log storage and some implementations.

Modules

Persistent implementation backed by normal files.
In-memory implementation backed by BTreeMap.
rocksdbrocksdb-backend
Persistent implementation backed by RocksDB.

Structs

Serialized Ballot. Ballot is a record of the previous vote.
Serialized log entry.

Traits

The abstraction of the log storage. Conceptually it is considered as a sequence of log entries and the recent vote.