pub trait FlowPlanner {
type Input;
type Output;
type Error;
// Required methods
fn create_execution_plan(
&self,
input: Self::Input,
) -> Result<Self::Output, Self::Error>;
fn optimize_plan(
&self,
plan: Self::Output,
) -> Result<Self::Output, Self::Error>;
}
Expand description
流程编排器接口