pub unsafe extern "C" fn esp_transport_set_async_connect_func(
t: *mut esp_transport_item_t,
_connect_async_func: Option<unsafe extern "C" fn(*mut esp_transport_item_t, *const u8, i32, i32) -> i32>,
) -> i32Expand description
@brief Set transport functions for the transport handle
@param[in] t The transport handle @param[in] _connect_async_func The connect_async function pointer
@return - ESP_OK - ESP_FAIL