pub trait SqlForgeQueryExecute {
type Db: Database;
// Required method
fn execute<'e, E>(
self,
executor: E,
) -> impl Future<Output = Result<<Self::Db as Database>::QueryResult, Error>> + Send + 'e
where Self: Sized + 'e,
E: Executor<'e, Database = Self::Db> + Send + 'e,
Self::Db: 'e;
}Required Associated Types§
Required Methods§
fn execute<'e, E>( self, executor: E, ) -> impl Future<Output = Result<<Self::Db as Database>::QueryResult, Error>> + Send + 'e
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".