pub trait IntoOneTimeExecutorAt<'c> {
type Executor: PgExecutor<'c>;
// Required method
fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
where Self: 'c;
}Expand description
A trait to signify that we can use an argument for 1 round trip to the database
Auto implemented on all &mut AtomicOperation types and
&sqlx::PgPool.
Required Associated Types§
Sourcetype Executor: PgExecutor<'c>
type Executor: PgExecutor<'c>
The concrete executor type.
Required Methods§
Sourcefn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>where
Self: 'c,
fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>where
Self: 'c,
Transforms into a OneTimeExecutor which can be used to execute a round trip.