pub type otIp6RegisterMulticastListenersCallback = Option<unsafe extern "C" fn(aContext: *mut c_void, aError: otError, aMlrStatus: u8, aFailedAddresses: *const otIp6Address, aFailedAddressNum: u8)>;
Expand description

Pointer is called with results of otIp6RegisterMulticastListeners.

@param[in] aContext A pointer to the user context. @param[in] aError OT_ERROR_NONE when successfully sent MLR.req and received MLR.rsp, OT_ERROR_RESPONSE_TIMEOUT when failed to receive MLR.rsp, OT_ERROR_PARSE when failed to parse MLR.rsp. @param[in] aMlrStatus The Multicast Listener Registration status when @p aError is OT_ERROR_NONE. @param[in] aFailedAddresses A pointer to the failed IPv6 addresses when @p aError is OT_ERROR_NONE. @param[in] aFailedAddressNum The number of failed IPv6 addresses when @p aError is OT_ERROR_NONE.

@sa otIp6RegisterMulticastListeners

Aliased Type§

enum otIp6RegisterMulticastListenersCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: u8, _: *const otIp6Address, _: u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: u8, _: *const otIp6Address, _: u8))

Some value of type T.