Expand description
A generic optimistic transaction manger, which is ACID, concurrent with SSI (Serializable Snapshot Isolation).
For other async runtime, async-txn
Modules§
- error
- Error types for the [
txn] crate. Errors
Structs§
- BTreeCm
- A
Cmconflict manager implementation that based on theBTreeSet. - Entry
- An entry can be persisted to the database.
- Entry
Ref - The reference of the
Entry. - Entry
Value - A entry value
- HashCm
- A
Cmconflict manager implementation that based on theHash. - Hash
CmOptions - Options for the
HashCm. - Marker
- A marker used to mark the keys that are read.
- OneOr
More - A tiny vec which can inline 1 element on stack.
- Rtm
- Rtm is a read-only transaction manager.
- Tm
- A multi-writer multi-reader MVCC, ACID, Serializable Snapshot Isolation transaction manager.
- Wtm
- Wtm is used to perform writes to the database. It is created by
calling
Tm::write.
Enums§
- Entry
Data - The data of the
Entry. - Entry
Data Ref - The reference of the
EntryData.
Traits§
- Cm
- The conflict manager that can be used to manage the conflicts in a transaction.
- CmComparable
- An optimized version of the
Cmtrait that if your conflict manager is depend on the order. - CmComparable
Range - An optimized version of the
CmRangetrait that if your conflict manager is depend on the order. - CmEquivalent
- An optimized version of the
Cmtrait that if your conflict manager is depend on hash. - CmEquivalent
Range - An optimized version of the
CmRangetrait that if your conflict manager is depend on hash. - CmIter
- A extended trait of the
Cmtrait that can be used to manage the iterator of keys. - CmRange
- A extended trait of the
Cmtrait that can be used to manage the range of keys. - Pwm
- A pending writes manager that can be used to store pending writes in a transaction.
- PwmComparable
- An optimized version of the
Pwmtrait that if your pending writes manager is depend on the order. - PwmComparable
Range - An trait that can be used to get a range over the pending writes.
- PwmEquivalent
- An optimized version of the
Pwmtrait that if your pending writes manager is depend on hash. - PwmEquivalent
Range - An trait that can be used to get a range over the pending writes.
- PwmRange
- An trait that can be used to get a range over the pending writes.