Module yakv::storage[][src]

Structs

Buffer cache info

Database info

Read-only transactions. Unlike snapshot read-only transaction exclude concurrent execution of write transactions (MURSIW).

Class for taking snapshot of the storage: capturing state of the storage preventing concurrent changes

Persistent key-value storage implementation Update operations are atomic, select operations are non-atomic and observe most recent database state.

Storage configuration parameters

Abstract storage bidirectional iterator

Explicitly started read-write transaction. Storage can be updated in autocommit mode or using explicitly started transaction.

Enums

Status of transaction

Traits

Read-only queries to the storage

Type Definitions

Storage key type. If you want to use some other types as a key, you will have to serialize them (for example using serde). As far as vectors are compared using byte-by-byte comparison, you need to take it in account during serialization if you need to preserve order for original type. For example unsigned integer type should be serialized as big-endian (most significant byte first).

Storage value type. All other types should be serialized to vector of bytes.