Skip to main content

cause_code_of_choice

pub fn cause_code_of_choice(choice: &CauseCodeChoice) -> Option<u8>
Expand description

Cause code value of a CauseCodeChoice, from the alternative name, which ends with the value (e.g. accident2 -> 2), as in the Python stack.