Skip to main content

Executor

Trait Executor 

Source
pub trait Executor {
    // Required method
    fn exec(&self, args: &[&str]) -> AppResult<Vec<u8>>;
}
Expand description

Raw git command execution escape hatch.

Required Methods§

Source

fn exec(&self, args: &[&str]) -> AppResult<Vec<u8>>

Executes the git CLI with the provided arguments.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§