IntoExecutor

Trait IntoExecutor 

Source
pub trait IntoExecutor<'a>: Send + 'a {
    type DB: SqlDialect;

    // Required method
    fn into_executor(self) -> Executor<'a, Self::DB>;
}

Required Associated Types§

Required Methods§

Source

fn into_executor(self) -> Executor<'a, Self::DB>

Implementations on Foreign Types§

Source§

impl<'a> IntoExecutor<'a> for &'a mut SqliteConnection

Available on crate feature sqlite only.
Source§

type DB = Sqlite

Source§

fn into_executor(self) -> Executor<'a, Self::DB>

Source§

impl<'a, DB: SqlDialect> IntoExecutor<'a> for &'a Pool<DB>

Source§

type DB = DB

Source§

fn into_executor(self) -> Executor<'a, DB>

Implementors§

Source§

impl<'a, DB: SqlDialect> IntoExecutor<'a> for Executor<'a, DB>

Source§

type DB = DB