Trait Process

Source
pub trait Process: Send {
    // Required method
    fn execute(
        self,
        config: Config,
        service: IntelliShellService,
    ) -> impl Future<Output = Result<ProcessOutput>> + Send;
}
Expand description

Trait for non-interactive processes

Required Methods§

Source

fn execute( self, config: Config, service: IntelliShellService, ) -> impl Future<Output = Result<ProcessOutput>> + Send

Executes the process non-interactively and returns the output

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§