Skip to main content

ProgrammaticHealthRunner

Trait ProgrammaticHealthRunner 

Source
pub trait ProgrammaticHealthRunner {
    // Required method
    fn run_programmatic_health(
        &self,
        options: &ComplexityOptions,
    ) -> Result<ProgrammaticHealthRun, ProgrammaticError>;
}
Expand description

Temporary runner boundary for programmatic health while execution moves from the CLI crate into the engine/API stack.

Required Methods§

Source

fn run_programmatic_health( &self, options: &ComplexityOptions, ) -> Result<ProgrammaticHealthRun, ProgrammaticError>

Run health analysis for public programmatic options.

§Errors

Returns a structured programmatic error when the concrete runner cannot resolve options or complete health analysis.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§