Skip to main content

CommandExecuteDyn

Trait CommandExecuteDyn 

Source
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§

Source

fn command_execute_dyn<'a>( &'a self, program: &'a str, args: &'a [&'a str], ) -> BoxedFuture<'a, Result<CommandOutput>>

Implementors§