Type Alias openthread_sys::otUdpReceive

source ·
pub type otUdpReceive = Option<unsafe extern "C" fn(aContext: *mut c_void, aMessage: *mut otMessage, aMessageInfo: *const otMessageInfo)>;
Expand description

This callback allows OpenThread to inform the application of a received UDP message.

Aliased Type§

enum otUdpReceive {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut otMessage, _: *const otMessageInfo)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut otMessage, _: *const otMessageInfo))

Some value of type T.