pub trait TransactionExecutor: DataServiceExecutor {
type Tx<'a>: QueryExecutor<Error = Self::Error> + MutationExecutor<Error = Self::Error> + Transaction<Error = Self::Error>
where Self: 'a;
// Required method
fn begin(
&self,
) -> impl Future<Output = Result<Self::Tx<'_>, Self::Error>> + Send;
}Required Associated Types§
type Tx<'a>: QueryExecutor<Error = Self::Error> + MutationExecutor<Error = Self::Error> + Transaction<Error = Self::Error> where Self: 'a
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".