Skip to main content

QueryExecutionFactory

Trait QueryExecutionFactory 

Source
pub trait QueryExecutionFactory {
    // Required method
    fn create_query_execution<'life0, 'async_trait>(
        &'life0 self,
        plan: Plan,
        query_state_machine: QueryStateMachineRef,
    ) -> Pin<Box<dyn Future<Output = QueryResult<QueryExecutionRef>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create_query_execution<'life0, 'async_trait>( &'life0 self, plan: Plan, query_state_machine: QueryStateMachineRef, ) -> Pin<Box<dyn Future<Output = QueryResult<QueryExecutionRef>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§