//! Folding a finished report down to one answer.
usesuper::types::{BenchReport, BenchStage, BenchVerdictRefusal};/// Read a finished report for the first row that did not qualify.
////// # Errors
////// Refuses the first reading outside [`BenchStage::Qualified`], in authored table order.
pubfnbench_verdict(report:&BenchReport)->Result<(), BenchVerdictRefusal>{for reading in report.readings(){let stage = reading.outcome().stage();if stage !=BenchStage::Qualified {returnErr(BenchVerdictRefusal::row_not_qualified(
reading.row().key(),
stage,));}}Ok(())}