Crate async_skipdb

Source
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 requires K implements both Hash and Ord. If your K does not implement Hash, you can use [SerializableDb] instead.
serializable
SerializableDb implementation, which requires K implements Ord and CheapClone. If your K implements both Hash and Ord, you are recommended to use OptimisticDb instead.

Structs§

AsyncStdSpawnerasync-std
A AsyncSpawner that uses the async-std runtime.
Iter
An iterator over the entries of the database.
Range
An iterator over a subset of entries of the database.
ReadTransaction
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.
SmolSpawnersmol
A AsyncSpawner that uses the smol runtime.
TokioSpawnertokio
A AsyncSpawner that uses the tokio runtime.
TransactionIter
Iterator over the entries of the write transaction.
TransactionRange
An iterator over a subset of entries of the database.
ValueRef
A reference to an entry in the write transaction.
WasmSpawnerwasm
A AsyncSpawner that uses the wasm-bindgen-futures runtime.
WriteTransactionRevIter
Iterator over the entries of the write transaction.

Traits§

AsyncSpawner
A spawner trait for spawning futures.
Detach
Detaches the task related to the join handle to let it keep running in the background.

Type Aliases§

BTreePwm
A type alias for Pwm that based on the BTreeMap.