pub unsafe extern "C" fn IoTHubModuleClient_LL_SetConnectionStatusCallback(
iotHubModuleClientHandle: IOTHUB_MODULE_CLIENT_LL_HANDLE,
connectionStatusCallback: IOTHUB_CLIENT_CONNECTION_STATUS_CALLBACK,
userContextCallback: *mut c_void,
) -> IOTHUB_CLIENT_RESULTExpand description
@brief Sets up the connection status callback to be invoked representing the status of the connection to IOT Hub. This is a blocking call.
@param iotHubModuleClientHandle The handle created by a call to the create function. @param connectionStatusCallback The callback specified by the module for receiving updates about the status of the connection to IoT Hub. @param userContextCallback User specified context that will be provided to the callback. This can be @c NULL.
@warning: Do not call IoTHubModuleClient_LL_Destroy() or IoTHubModuleClient_LL_DoWork() from inside your application’s callback.
@return IOTHUB_CLIENT_OK upon success or an error code upon failure.