Expand description
Blazing fast ACID and MVCC in memory database.
async-skipdb
uses the same SSI (Serializable Snapshot Isolation) transaction model used in badger
.
Modules§
- optimistic
OptimisticDb
implementation, which requiresK
implements bothHash
andOrd
. If yourK
does not implementHash
, you can use [SerializableDb
] instead.- serializable
SerializableDb
implementation, which requiresK
implementsOrd
andCheapClone
. If yourK
implements bothHash
andOrd
, you are recommended to useOptimisticDb
instead.
Structs§
- Async
StdSpawner async-std
- A
AsyncSpawner
that uses theasync-std
runtime. - Iter
- An iterator over the entries of the database.
- Range
- An iterator over a subset of entries of the database.
- Read
Transaction - A read only transaction over the [
OptimisticDb
], - Ref
- A reference to an entry in the write transaction.
- RevIter
- An iterator over the entries of the database.
- Smol
Spawner smol
- A
AsyncSpawner
that uses thesmol
runtime. - Tokio
Spawner tokio
- A
AsyncSpawner
that uses thetokio
runtime. - Transaction
Iter - Iterator over the entries of the write transaction.
- Transaction
Range - An iterator over a subset of entries of the database.
- Value
Ref - A reference to an entry in the write transaction.
- Wasm
Spawner wasm
- A
AsyncSpawner
that uses thewasm-bindgen-futures
runtime. - Write
Transaction RevIter - Iterator over the entries of the write transaction.
Traits§
- Async
Spawner - A spawner trait for spawning futures.
- Detach
- Detaches the task related to the join handle to let it keep running in the background.