Expand description
A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).
For tokio runtime, please see tokio-mwmr
For other async runtime, async-mwmr
Modules§
- error
- Error types for the [
mwmr] crate.
Structs§
- Entry
- An entry can be persisted to the database.
- Entry
Ref - The reference of the
Entry. - Entry
Value - A entry value
- Iterator
Options - Used to set options when iterating over key-value stores.
- KeyRef
- A reference to a key.
- Keys
Options - Used to set options when iterating over key-value stores.
- OneOr
More - A tiny vec which can inline 1 element on stack.
- Options
- Options for the
TransactionDB. - Read
Transaction - ReadTransaction is a read-only transaction.
- TransactionDB
- A multi-writer multi-reader MVCC, ACID, Serializable Snapshot Isolation transaction manager.
- Write
Transaction - WriteTransaction is used to perform writes to the database. It is created by
calling
TransactionDB::write.
Enums§
- Entry
Data - The data of the
Entry. - Entry
Data Ref - The reference of the
EntryData. - Item
- An item that is either prefetched or fetched from the database.
Traits§
- Database
- An abstraction of database which can be managed by the [
TransactionDB]. - Pending
Manager - A pending writes manager that can be used to store pending writes in a transaction.
Type Aliases§
- BTree
MapManager - A type alias for
PendingManagerthat based on theBTreeMap. - Index
MapManager - A type alias for
PendingManagerthat based on theIndexMap.