Separating the `connect` call out of the `MqttClient::new` function makes is such that we do not have to create a new object for each iteration of the initial connection loop. Instead, we just create one object and repeatedly call its `connect` method until it succeeds |
||
---|---|---|
src | ||
.gitattributes | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
rustfmt.toml |