Type Alias esp_idf_sys::connect_async_func
source · pub type connect_async_func = Option<unsafe extern "C" fn(t: esp_transport_handle_t, host: *const c_char, port: c_int, timeout_ms: c_int) -> c_int>;
Aliased Type§
enum connect_async_func {
None,
Some(unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *const i8, _: i32, _: i32) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *const i8, _: i32, _: i32) -> i32)
Some value of type T
.