Expand description
A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).
For sync version, please see txn
Modules§
- Error types for the [
async-txn
] crate. Errors
Structs§
- A marker used to mark the keys that are read.
- AsyncRtm is a read-only transaction manager.
- A
AsyncSpawner
that uses theasync-std
runtime. - A multi-writer multi-reader MVCC, ACID, Serializable Snapshot Isolation transaction manager.
- AsyncWtm is used to perform writes to the database. It is created by calling
AsyncTm::write
. - An entry can be persisted to the database.
- The reference of the
Entry
. - A entry value
- Options for the
HashCm
. - Key is a versioned key
- A reference to a key.
- A marker used to mark the keys that are read.
- A tiny vec which can inline 1 element on stack.
- Options for the
AsyncTm
. - A
AsyncSpawner
that uses thesmol
runtime. - A
AsyncSpawner
that uses thetokio
runtime.
Enums§
Traits§
- The conflict manager that can be used to manage the conflicts in a transaction.
- An optimized version of the
AsyncCm
trait that if your conflict manager is depend on the order. - An optimized version of the
AsyncCm
trait that if your conflict manager is depend on hash. - A pending writes manager that can be used to store pending writes in a transaction.
- An optimized version of the
AsyncPwm
trait that if your pending writes manager is depend on the order. - An optimized version of the
AsyncPwm
trait that if your pending writes manager is depend on hash. - A spawner trait for spawning futures.
- The conflict manager that can be used to manage the conflicts in a transaction.
- An optimized version of the
Cm
trait that if your conflict manager is depend on the order. - An optimized version of the
Cm
trait that if your conflict manager is depend on hash. - Detaches the task related to the join handle to let it keep running in the background.
- A pending writes manager that can be used to store pending writes in a transaction.
- An optimized version of the
Pwm
trait that if your pending writes manager is depend on the order. - An trait that can be used to get a range over the pending writes.
- An optimized version of the
Pwm
trait that if your pending writes manager is depend on hash. - An trait that can be used to get a range over the pending writes.
- An trait that can be used to get a range over the pending writes.
Type Aliases§
- Default hasher used by the conflict manager.