pub trait IntoDatabaseExecutor<'c>where
Self: 'c,{
// Required method
fn into_database_executor(self) -> DatabaseExecutor<'c>;
}Expand description
Conversion into a DatabaseExecutor. Implemented for
&DatabaseConnection, &DatabaseTransaction, and owned
DatabaseTransaction — let users hand any of them to functions that
take impl IntoDatabaseExecutor<'_>.
Required Methods§
Sourcefn into_database_executor(self) -> DatabaseExecutor<'c>
fn into_database_executor(self) -> DatabaseExecutor<'c>
Build the DatabaseExecutor.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".