Trait IntoOneTimeExecutorAt

Source
pub trait IntoOneTimeExecutorAt<'c> {
    type Executor: PgExecutor<'c>;

    // Required method
    fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
       where Self: 'c;
}

Required Associated Types§

Required Methods§

Source

fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
where Self: 'c,

Implementations on Foreign Types§

Source§

impl<'c> IntoOneTimeExecutorAt<'c> for &PgPool

Source§

type Executor = &'c Pool<Postgres>

Source§

fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
where Self: 'c,

Source§

impl<'c, O> IntoOneTimeExecutorAt<'c> for &mut O
where O: AtomicOperation,

Source§

type Executor = &'c mut PgConnection

Source§

fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
where Self: 'c,

Implementors§