openthread_sys

Type Alias otNeighborTableCallback

Source
pub type otNeighborTableCallback = Option<unsafe extern "C" fn(aEvent: otNeighborTableEvent, aEntryInfo: *const otNeighborTableEntryInfo)>;
Expand description

Pointer is called to notify that there is a change in the neighbor table.

@param[in] aEvent A event flag. @param[in] aEntryInfo A pointer to table entry info.

Aliased Type§

enum otNeighborTableCallback {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *const otNeighborTableEntryInfo)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: *const otNeighborTableEntryInfo))

Some value of type T.