ChildProcessStarter

Trait ChildProcessStarter 

Source
pub trait ChildProcessStarter<Runtime>{
    // Required method
    fn start_child_process(
        runtime: &Runtime,
        command_path: &Runtime::FilePath,
        command_args: &[&str],
        envs: &[(&str, &str)],
        stdout_path: Option<&Runtime::FilePath>,
        stderr_path: Option<&Runtime::FilePath>,
    ) -> impl Future<Output = Result<Runtime::ChildProcess, Runtime::Error>> + Send;
}

Required Methods§

Source

fn start_child_process( runtime: &Runtime, command_path: &Runtime::FilePath, command_args: &[&str], envs: &[(&str, &str)], stdout_path: Option<&Runtime::FilePath>, stderr_path: Option<&Runtime::FilePath>, ) -> impl Future<Output = Result<Runtime::ChildProcess, Runtime::Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Component, Runtime> ChildProcessStarter<Runtime> for Component