pub trait IntoExecutor<'a>: Send + 'a {
type DB: SqlDialect;
// Required method
fn into_executor(self) -> Executor<'a, Self::DB>;
}Expand description
A trait for types that can be converted into an Executor.
Required Associated Types§
Sourcetype DB: SqlDialect
type DB: SqlDialect
The database dialect associated with this executor.
Required Methods§
Sourcefn into_executor(self) -> Executor<'a, Self::DB>
fn into_executor(self) -> Executor<'a, Self::DB>
Converts the type into an Executor.
Implementations on Foreign Types§
Source§impl<'a> IntoExecutor<'a> for &'a mut SqliteConnection
Available on crate feature sqlite only.
impl<'a> IntoExecutor<'a> for &'a mut SqliteConnection
Available on crate feature
sqlite only.