openthread_sys

Type Alias otStateChangedCallback

Source
pub type otStateChangedCallback = Option<unsafe extern "C" fn(aFlags: otChangedFlags, aContext: *mut c_void)>;
Expand description

Pointer is called to notify certain configuration or state changes within OpenThread.

@param[in] aFlags A bit-field indicating specific state that has changed. See OT_CHANGED_* definitions. @param[in] aContext A pointer to application-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.