edma_storage 0.0.2

EDMA: Embedded Database Management for All
Documentation
1
2
3
4
5
6
7
8
9
10
use std::marker::PhantomData;

use crate::DBTransaction;

/// OptimisticTransactionDB
/// Using OptimisticTransactionDB type instead of default DB type
/// This is for multithreaded concurrency control used in distributed system
pub type DBType = sled::Db;
pub type TxType = PhantomData<String>;
pub type SledTransaction = DBTransaction<DBType, TxType>;