Expand description
The module defining the key value store.
Everything related the transaction for the key value store is defined in the tx.rs
file.
This module enables the following operations on the key value store:
- get
- set
- delete
- put
These operations can be processed by the following storage engines:
fdb
: FoundationDB a distributed database designed to handle large volumes of structured data across clusters of commodity serversindxdb
: WASM based database to store data in the browserrocksdb
: RocksDB an embeddable persistent key-value store for fast storagetikv
: TiKV a distributed, and transactional key-value databasemem
: in-memory database
Modules§
Structs§
- Datastore
- The underlying datastore instance which stores the dataset.
- Live
- Transaction
- Transactor
- A set of undoable updates and requests against a dataset.
Enums§
- Check
- Used to determine the behaviour when a transaction is not closed correctly
- Lock
Type - Specifies whether the transaction is optimistic or pessimistic.
- Transaction
Type - Specifies whether the transaction is read-only or writeable.
Traits§
- KeyDecode
- A trait for types which can be decoded from a kv-store key bytes.
- KeyDecode
Owned - KeyEncode
- A trait for types which can be encoded as a kv-store key.