openthread_sys

Type Alias otThreadParentResponseCallback

Source
pub type otThreadParentResponseCallback = Option<unsafe extern "C" fn(aInfo: *mut otThreadParentResponseInfo, aContext: *mut c_void)>;
Expand description

Pointer is called every time an MLE Parent Response message is received.

This is used in otThreadRegisterParentResponseCallback().

@param[in] aInfo A pointer to a location on stack holding the stats data. @param[in] aContext A pointer to callback client-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.