pub fn status_with_payload_to_syscall_repr<E>(result: Result<usize, E>) -> usize
where E: Into<usize>,
Expand description

Convert a Result that carries a custom status on success. It is the producer’s responsibility that the success status can be differentiated from an error, if needed.