pub trait OperatorTreeDriver {
type Error;
// Required method
fn execute_node(
&self,
op: &OperatorTree,
) -> Result<OperatorOutput, Self::Error>;
}Expand description
Driver that knows how to execute an OperatorTree node. The
engine implements this trait (it owns the per-operator dispatch,
child execution, and the runtime context); the planner-side
PlanExecutor only wraps root timing and stats collection.
Required Associated Types§
Required Methods§
fn execute_node(&self, op: &OperatorTree) -> Result<OperatorOutput, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".