Function esp_idf_hal::sys::esp_transport_get_error_handle
source ยท pub unsafe extern "C" fn esp_transport_get_error_handle(
t: *mut esp_transport_item_t,
) -> *mut esp_tls_last_error
Expand description
@brief Returns esp_tls error handle. Warning: The returned pointer is valid only as long as esp_transport_handle_t exists. Once transport handle gets destroyed, this value (esp_tls_error_handle_t) is freed automatically.
@param[in] A transport handle
@return - valid pointer of esp_error_handle_t - NULL if invalid transport handle