pub type netopt_on_connect_result_t = Option<unsafe extern "C" fn(netif: *mut c_void, res: *const netopt_connect_result)>;
Expand description

@brief Basic callback type on network connection @ref NETOPT_CONNECT

Aliased Type§

enum netopt_on_connect_result_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const netopt_connect_result)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const netopt_connect_result))

Some value of type T.