pub trait GhAuthTokenRunner {
// Required method
fn run(&self, command: &GhAuthTokenCommand) -> Result<GhAuthTokenOutput>;
}Expand description
Injectable command boundary. Tests supply a fake runner, so they never
execute gh, inspect a real GitHub config directory, or use ambient env.
Required Methods§
fn run(&self, command: &GhAuthTokenCommand) -> Result<GhAuthTokenOutput>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".