pub fn result_code(reply_body: &[u8]) -> Option<u32>Expand description
Leading result code from a reply body, or None if it is not a well-formed
result section.
Zero count is success (Some(0)); nonzero returns the first entry’s
result. None if the body is too short for the count or for an entry
the count claims: a truncated rejection must never read as 0, so the
caller treats None as malformed, never Ok (“classify never guesses”).