Skip to main content

Engine

Trait Engine 

Source
pub trait Engine: Send + Sync {
    // Required method
    fn run(&self, args: &[String]) -> Result<Output, ProviderError>;
}
Expand description

Runs the engine’s command line. The real one starts the executable; a test stands in for the engine with its own.

Required Methods§

Source

fn run(&self, args: &[String]) -> Result<Output, ProviderError>

Runs <engine> <args> to completion.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§