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
流程编排器接口
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".