Skip to main content

severity

Function severity 

Source
fn severity(outcome: &Outcome) -> u8
Expand description

A total order on severity, Allow < Reject < Freeze, kept as a plain function rather than a derived Ord on Outcome because Outcome’s reason fields carry no ordering of their own.