Skip to main content

connect_async_func

Type Alias 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§

pub enum connect_async_func {
    None,
    Some(unsafe extern "C" fn(*mut esp_transport_item_t, *const u8, i32, i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut esp_transport_item_t, *const u8, i32, i32) -> i32)

Some value of type T.