pub unsafe extern "C" fn esp_mqtt_client_destroy(
    client: esp_mqtt_client_handle_t
) -> esp_err_t
Expand description

@brief Destroys the client handle

Notes:

  • Cannot be called from the MQTT event handler

@param client MQTT client handle

@return ESP_OK ESP_ERR_INVALID_ARG on wrong initialization