Expand description
§rumqttc-core-next
rumqttc-core-next contains the shared transport and connection plumbing used by the rumqttc-next protocol crates.
§Scope
- Shared TCP, TLS, WebSocket, and proxy integration code.
- Shared
NetworkOptions,TlsConfiguration, socket connectors, and adapter traits. - Internal support crate for
rumqttc-v4-next,rumqttc-v5-next, and therumqttc-nextfacade.
This crate is not a full MQTT client and does not expose the v4 or v5 protocol APIs by itself.
Structs§
- Network
Options - Provides a way to configure low level network connection configurations
- Proxy
proxy - WsAdapter
websocket - Bridges
async-tungstenite’s split WebSocket halves (ByteReader+ByteWriter) into a unifiedAsyncRead + AsyncWriteobject compatible withrumqttc’sNetworkabstraction.
Enums§
- Proxy
Auth proxy - Proxy
Error proxy - Proxy
Type proxy - TlsConfiguration
use-rustls-no-provideroruse-native-tls - TLS configuration method
- TlsError
use-rustls-no-provideroruse-native-tls - UrlError
websocket - Validation
Error websocket
Traits§
- Async
Read Write websocket
Functions§
- default_
socket_ connect - Default TCP socket connection logic used by the MQTT event loop.
- split_
url websocket - tls_
connect use-rustls-no-provideroruse-native-tls - Establishes a TLS stream on top of an already connected transport.
- validate_
response_ headers websocket
Type Aliases§
- DynAsync
Read Write - Socket
Connector - Custom socket connector used to establish the underlying stream before optional proxy/TLS layers.