Skip to main content

classify

Function classify 

Source
pub fn classify(
    adapter: &Adapter,
    code: Option<i32>,
    stdout: &str,
    stderr: &str,
) -> (ProbeOutcome, String)
Expand description

Classify a finished probe through its adapter. code is the exit code (None for a signal death — broken). Returns the outcome and a one-line reason. Timeouts are handled by the caller (always broken).