[][src]Type Definition openthread_sys::otHandleCoapSecureClientConnect

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

This function 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.