pub trait CommandExecuteDyn:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn command_execute_dyn<'a>(
&'a self,
program: &'a str,
args: &'a [&'a str],
) -> BoxedFuture<'a, Result<CommandOutput>>;
}Expand description
CommandExecuteDyn is the dyn version of CommandExecute.
Required Methods§
Sourcefn command_execute_dyn<'a>(
&'a self,
program: &'a str,
args: &'a [&'a str],
) -> BoxedFuture<'a, Result<CommandOutput>>
fn command_execute_dyn<'a>( &'a self, program: &'a str, args: &'a [&'a str], ) -> BoxedFuture<'a, Result<CommandOutput>>
Dyn version of CommandExecute::command_execute.