Expand description
§MQTT Transport Abstraction
This module defines the MqttTransport trait, which abstracts the underlying
communication channel (like TCP, UART, etc.), allowing the MQTT client to be
hardware and network-stack agnostic.
With the Rust 2024 Edition, this trait uses native async fn, removing the
need for the #[async_trait] macro.
Structs§
- Error
Place Holder - A placeholder error type used in contexts where the actual transport error is not known,
such as in the
EncodePackettrait.
Traits§
- Mqtt
Transport - A trait representing a transport for MQTT packets.
- Transport
Error - A marker trait for transport-related errors.