pub trait CachedExecutionHost<B> {
// Required methods
fn dispatch_query_cache(&self) -> &QueryCache<B>;
fn dispatch_execute_bound_plan(
&self,
plan: &CachedPlanRef<B>,
context: &ExecutionContext,
) -> Result<Box<dyn QueryResult>>;
fn dispatch_execute_statement(
&self,
statement: &Statement,
context: &ExecutionContext,
) -> Result<Box<dyn QueryResult>>;
}Expand description
Internal callbacks joining cached-program admission to the executor owner.
Required Methods§
fn dispatch_query_cache(&self) -> &QueryCache<B>
fn dispatch_execute_bound_plan( &self, plan: &CachedPlanRef<B>, context: &ExecutionContext, ) -> Result<Box<dyn QueryResult>>
fn dispatch_execute_statement( &self, statement: &Statement, context: &ExecutionContext, ) -> Result<Box<dyn QueryResult>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".