openthread_sys

Type Alias otLinkMetricsMgmtResponseCallback

Source
pub type otLinkMetricsMgmtResponseCallback = Option<unsafe extern "C" fn(aSource: *const otIp6Address, aStatus: otLinkMetricsStatus, aContext: *mut c_void)>;
Expand description

Pointer is called when a Link Metrics Management Response is received.

@param[in] aSource A pointer to the source address. @param[in] aStatus The status code in the response. @param[in] aContext A pointer to application-specific context.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.