Module stg

Module stg 

Source
Expand description

Backing Storage for database. See also AtomicFile.

Structs§

DummyFile
Dummy Stg that can be used for Atomic upd file if “reliable” atomic commits are not required.
MemFile
Simple implementation of Storage using Vec<u8>.
MultiFileStorage
Alternative to SimpleFileStorage that uses multiple SimpleFileStorages to allow parallel reads/writes by different threads.
SimpleFileStorage
Simple implementation of Storage using std::fs::File.

Traits§

PageStorage
Interface for page storage.
PageStorageInfo
Information about page sizes.
Storage
Interface for database storage.