Module connect

Module connect 

Expand description

Connection establishment: transport connect, CONNECT/CONNACK handshake, and classification of broker rejections.

Structsยง

EstablishedConnection ๐Ÿ”’
State produced by a successful connect + CONNACK handshake.

Functionsยง

build_connect ๐Ÿ”’
establish_connection ๐Ÿ”’
Performs TCP connect, send CONNECT, wait for CONNACK.
is_fatal_rejection ๐Ÿ”’
CONNACK rejections that cannot succeed without operator intervention; see ReconnectOptions::stop_on_fatal_rejection.