StatementExecutor

Trait StatementExecutor 

Source
pub trait StatementExecutor<T: Table> {
    // Required method
    fn execute<'a, 'async_trait, E>(
        self,
        acquirer: E,
    ) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>
       where E: Send + Acquire<'a, Database = Driver> + 'async_trait,
             Self: 'async_trait,
             'a: 'async_trait;
}

Required Methods§

Source

fn execute<'a, 'async_trait, E>( self, acquirer: E, ) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>
where E: Send + Acquire<'a, Database = Driver> + 'async_trait, Self: 'async_trait, 'a: 'async_trait,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§