pub fn status_for_code(code: &TrustTaskCode) -> u16Expand description
Map a TrustTaskCode to a numeric HTTP status code.
Returns u16 rather than http::StatusCode so the function is
dependency-light and usable from both the server (axum) and client
(reqwest) sides without dragging in extra crates here.