pub trait KeyValueDbTraitTransactional: KeyValueDbAsAnyTrait {
type TransactionType: KeyValueDbTransactionTrait<ValueType = Self::ValueType>;
// Required method
fn start_transaction(
&self,
immediate_write: bool
) -> Result<Self::TransactionType>;
}
Required Associated Types§
type TransactionType: KeyValueDbTransactionTrait<ValueType = Self::ValueType>
Required Methods§
sourcefn start_transaction(
&self,
immediate_write: bool
) -> Result<Self::TransactionType>
fn start_transaction( &self, immediate_write: bool ) -> Result<Self::TransactionType>
Immediate_write indicates whether the transaction should acquire a write-lock immediately if any.