pub fn net_error_into_io_err(net_error: NetworkError) -> Error