Module transport
Expand description
Modular transport layer.
The Transport trait abstracts the underlying connection so that
different transports (TCP, TLS, WebSocket, …) can be plugged in.
Modules§
- tls 🔒
tls
Structs§
- TcpTransport
- Plain TCP transport (unencrypted).
- TlsTransport
tls - TLS transport using
tokio-rustls.
Traits§
- Transport
- A transport that can establish a byte-stream connection to an MQTT broker.