pub fn classify_claim(changed: usize) -> ClaimOutcomeExpand description
Classify an atomic claim attempt from the affected-row count (INV-5).
changed is the number of rows the conditional UPDATE reported modifying:
1→ClaimOutcome::Won0→ClaimOutcome::Lost- anything else → storage invariant violation; returns
Lostconservatively. Adapters should log an internal error whenchanged > 1.