[][src]Trait rgraph::NodeRunner

pub trait NodeRunner {
    fn get_name(&self) -> &str;
fn run(&self, solver: &mut GraphSolver) -> Result<SolverStatus, SolverError>;
fn get_ins(&self) -> &[String];
fn get_outs(&self) -> &[String]; }

helper trait that hides heterogeneous tasks behind a common interface

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]

Loading content...

Implementors

impl<F> NodeRunner for Node<F> where
    F: Fn(&mut GraphSolver) -> Result<SolverStatus, SolverError>, 
[src]

Loading content...