pub trait NodeLauncher {
    // Required method
    fn launch(&self, node_bin_path: &Path, args: Vec<String>) -> Result<()>;
}
Expand description

This trait exists for unit testing.

It enables us to test that nodes are launched with the correct arguments without actually launching processes.

Required Methods§

source

fn launch(&self, node_bin_path: &Path, args: Vec<String>) -> Result<()>

Implementors§