Crate rustbreak [] [src]

Rustbreak

Rustbreak is an Daybreak inspiried single file Database. It uses bincode to compactly save data. It is thread safe and very fast due to mostly staying in memory until flushed. It is possible to periodically flush or to do it manually.

Structs

Database

The Database structure

Lock

Structure representing a lock of the Database

Transaction

A Transaction that is atomic in writes

Enums

BreakError

The Error type exported by BreakError, usually you only need to check against NotFound, however it might be useful sometimes to get other errors.

Type Definitions

BreakResult

Alias for our Result Type