pub trait Runner {
// Required method
fn run(&self, argv: &[String]) -> Result<(), String>;
}Expand description
The subprocess seam under ReleaseFetch: run an argv, folding a spawn failure and a
non-zero exit into one prose reason.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<R: Runner + ?Sized> Runner for &R
A borrowed runner runs the same way, so a caller can keep and inspect its own.
impl<R: Runner + ?Sized> Runner for &R
A borrowed runner runs the same way, so a caller can keep and inspect its own.