Trait InsertableRepositoryTransaction

Source
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§

Source

fn insert_in_transaction<'a>( &'a self, model: M, ) -> impl Future<Output = Result<M, Error>> + Send + 'a
where 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.

Implementors§