pub trait TransactionalStoreFactory:
StoreFactory
+ Send
+ Sync {
// Required methods
fn begin_transaction<'a>(
&self,
) -> Result<Box<dyn InContextStoreFactory<'a>>, InternalError>;
fn clone_box(&self) -> Box<dyn TransactionalStoreFactory>;
}Required Methods§
fn begin_transaction<'a>( &self, ) -> Result<Box<dyn InContextStoreFactory<'a>>, InternalError>
fn clone_box(&self) -> Box<dyn TransactionalStoreFactory>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".