Function cglue::result::into_int_result
source · [−]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.