Type Alias otBorderRoutingMultiAilCallback

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

A callback function pointer called when the multi-AIL detection state changes.

This callback function is invoked by the OpenThread stack whenever the Routing Manager determines a change in whether Border Routers on the Thread mesh might be connected to different Adjacent Infrastructure Links (AILs).

See otBorderRoutingIsMultiAilDetected() for more details.

@param[in] aDetected TRUE if multiple AILs are now detected, FALSE otherwise. @param[in] aContext A pointer to arbitrary context information provided when the callback was registered using otBorderRoutingSetMultiAilCallback().

Aliased Type§

pub enum otBorderRoutingMultiAilCallback {
    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.