pub trait QueryUnitOfWork {
// Required methods
fn begin_transaction(&self) -> Result<()>;
fn end_transaction(&self) -> Result<()>;
fn store(&self) -> Arc<Store> ⓘ;
}Required Methods§
fn begin_transaction(&self) -> Result<()>
fn end_transaction(&self) -> Result<()>
fn store(&self) -> Arc<Store> ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".