Function rd_kafka_error_code

Source
pub unsafe extern "C" fn rd_kafka_error_code(
    error: *const rd_kafka_error_t,
) -> rd_kafka_resp_err_t
Expand description

Returns the error code for \p error or RD_KAFKA_RESP_ERR_NO_ERROR if `error is NULL.