[][src]Function openthread_sys::otCoapOptionIteratorGetFirstOption

pub unsafe extern "C" fn otCoapOptionIteratorGetFirstOption(
    aIterator: *mut otCoapOptionIterator
) -> *const otCoapOption

This function returns a pointer to the first option.

@param[inout] aIterator A pointer to the CoAP message option iterator.

@returns A pointer to the first option. If no option is present NULL pointer is returned.