Skip to main content

CommandExecutor

Trait CommandExecutor 

Source
pub trait CommandExecutor {
    // Required method
    fn execute_command(&self, work_dir: &FileInfo, command: &str) -> Result<()>;
}

Required Methods§

Source

fn execute_command(&self, work_dir: &FileInfo, command: &str) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§