Skip to main content

GhAuthTokenRunner

Trait GhAuthTokenRunner 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§