1 2 3 4 5 6 7
match result { Ok(()) => 0, Err(e) => { set_last_error(alef_ffi_error_code(&e), &e.to_string()); -1 } }