pub trait NodeRunner {
// Required methods
fn get_name(&self) -> &str;
fn run(
&self,
solver: &mut GraphSolver<'_, '_>,
) -> Result<SolverStatus, SolverError>;
fn get_ins(&self) -> &[String];
fn get_outs(&self) -> &[String];
}Expand description
helper trait that hides heterogeneous tasks behind a common interface