Module client

Module client 

Source
Expand description

Async MQTT client wrapper.

MqttClient wraps rumqttc::AsyncClient and its event loop, exposing ergonomic publish / subscribe helpers that work directly with [wactorz_core::Message] values (serialised as JSON).

Structs§

MqttClient
Async MQTT client.
MqttConfig
Connection parameters for the MQTT broker.

Enums§

MqttEvent
Typed events surfaced by the MQTT event loop.