Type Alias openthread_sys::otUdpHandler
source · pub type otUdpHandler = Option<unsafe extern "C" fn(aContext: *mut c_void, aMessage: *const otMessage, aMessageInfo: *const otMessageInfo) -> bool>;
Expand description
This callback allows OpenThread to provide specific handlers for certain UDP messages.
@retval true The message is handled by this receiver and should not be further processed. @retval false The message is not handled by this receiver.
Aliased Type§
enum otUdpHandler {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const otMessage, _: *const otMessageInfo) -> bool),
}