pub type otHandleCoapSecureClientConnect = Option<unsafe extern "C" fn(aConnected: bool, aContext: *mut c_void)>;
Expand description

Pointer is called when the DTLS connection state changes.

@param[in] aConnected true, if a connection was established, false otherwise. @param[in] aContext A pointer to arbitrary context information.

Aliased Type§

enum otHandleCoapSecureClientConnect {
    None,
    Some(unsafe extern "C" fn(_: bool, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.