pub trait ExecutablePlan<C: QueryContext> {
// Required method
fn execute<'e, 'life0, 'async_trait, E>(
&'life0 self,
exec: E,
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>>
where E: Executor<'e, Database = Postgres> + 'async_trait,
Self: 'async_trait,
'e: 'async_trait,
'life0: 'async_trait;
}Required Methods§
fn execute<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + '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.