pub fn into_int_result<T, E: IntError>(res: Result<T, E>) -> i32
Expand description

Convert result into an integer error value.

Returned value of 0 means that the result is of Ok value, otherwise it is an error.

Arguments

  • res - result to convert.