pub trait CanStartChildProcess:
HasChildProcessType
+ HasFilePathType
+ HasErrorType {
// Required method
fn start_child_process(
&self,
command_path: &Self::FilePath,
command_args: &[&str],
envs: &[(&str, &str)],
stdout_path: Option<&Self::FilePath>,
stderr_path: Option<&Self::FilePath>,
) -> impl Future<Output = Result<Self::ChildProcess, Self::Error>> + Send;
}Required Methods§
fn start_child_process( &self, command_path: &Self::FilePath, command_args: &[&str], envs: &[(&str, &str)], stdout_path: Option<&Self::FilePath>, stderr_path: Option<&Self::FilePath>, ) -> impl Future<Output = Result<Self::ChildProcess, Self::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.