Function fold_into_i32

Source
pub fn fold_into_i32<T, E>(result: Result<T, E>) -> i32
where T: Into<U31>, E: Into<NegativeI32>,
Expand description

Represent a Result as a single integer where negative values are errors.