pub type otCoapRequestHandler = Option<unsafe extern "C" fn(aContext: *mut c_void, aMessage: *mut otMessage, aMessageInfo: *const otMessageInfo)>;
Expand description
Pointer is called when a CoAP request with a given Uri-Path is received.
@param[in] aContext A pointer to arbitrary context information. @param[in] aMessage A pointer to the message. @param[in] aMessageInfo A pointer to the message info for @p aMessage.
Aliased Type§
enum otCoapRequestHandler {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *mut otMessage, _: *const otMessageInfo)),
}