pub unsafe extern "C" fn otCoapOptionIteratorInit(
aIterator: *mut otCoapOptionIterator,
aMessage: *const otMessage,
) -> otErrorExpand description
Initializes an iterator for the options in the given message.
@param[in,out] aIterator A pointer to the CoAP message option iterator. @param[in] aMessage A pointer to the CoAP message.
@retval OT_ERROR_NONE Successfully initialized. @retval OT_ERROR_PARSE Message state is inconsistent.