pub unsafe extern "C" fn esp_transport_set_func(
    t: esp_transport_handle_t,
    _connect: connect_func,
    _read: io_read_func,
    _write: io_func,
    _close: trans_func,
    _poll_read: poll_func,
    _poll_write: poll_func,
    _destroy: trans_func
) -> esp_err_t
Expand description

@brief Set transport functions for the transport handle

@param[in] t The transport handle @param[in] _connect The connect function pointer @param[in] _read The read function pointer @param[in] _write The write function pointer @param[in] _close The close function pointer @param[in] _poll_read The poll read function pointer @param[in] _poll_write The poll write function pointer @param[in] _destroy The destroy function pointer

@return - ESP_OK