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§
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.