Function paho_mqtt3as_sys::MQTTAsync_reconnect [] [src]

pub unsafe extern "C" fn MQTTAsync_reconnect(handle: MQTTAsync) -> c_int

Reconnects a client with the previously used connect options. Connect must have previously been called for this to work. @param handle A valid client handle from a successful call to MQTTAsync_create(). @return ::MQTTASYNC_SUCCESS if the callbacks were correctly set, ::MQTTASYNC_FAILURE if an error occurred.