pub trait Process: Send {
// Required method
fn execute(
self,
config: Config,
service: IntelliShellService,
cancellation_token: CancellationToken,
) -> impl Future<Output = Result<ProcessOutput>> + Send;
}Expand description
Trait for non-interactive processes
Required Methods§
Sourcefn execute(
self,
config: Config,
service: IntelliShellService,
cancellation_token: CancellationToken,
) -> impl Future<Output = Result<ProcessOutput>> + Send
fn execute( self, config: Config, service: IntelliShellService, cancellation_token: CancellationToken, ) -> 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".