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

@brief Stops MQTT client tasks

  • Notes:
  • Cannot be called from the MQTT event handler

@param client MQTT client handle

@return ESP_OK on success ESP_ERR_INVALID_ARG on wrong initialization ESP_FAIL if client is in invalid state