pub trait InsertableRepositoryTransaction<M: Model>: InsertableRepository<M> + TransactionRepository<M> {
// Provided method
fn insert_in_transaction<'a>(
&'a self,
model: M,
) -> impl Future<Output = Result<M, Error>> + Send + 'a
where M: 'a { ... }
}
Provided Methods§
fn insert_in_transaction<'a>(
&'a self,
model: M,
) -> impl Future<Output = Result<M, Error>> + Send + 'awhere
M: 'a,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.