Crate surrealkv

Source

Modules§

log

Structs§

Options
Reader
Reader is a generic reader for reading data from an Aol. It is used by the RecordReader to read data from the Aol source.
Record
RecordReader
RecordReader is a public struct within the crate that is used for reading transaction records.
Store
An MVCC-based transactional key-value store.
Transaction
Transaction is a struct representing a transaction in a database.

Enums§

Durability
Error
Error is a custom error type for the storage module. It includes various variants to represent different types of errors that can occur.
IsolationLevel
Mode
Mode is an enumeration representing the different modes a transaction can have in an MVCC (Multi-Version Concurrency Control) system.

Functions§

repair_last_corrupted_segment
The last active segment being written to in the append-only log (AOL) is usually the WAL in database terminology. Corruption in the last segment can happen due to various reasons such as a power failure or a bug in the system, and also due to the asynchronous nature of calling close on the store.
restore_repair_files

Type Aliases§

Result
Result returning Error