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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".