Expand description
Error types for encoding/decoding operations Error types for MQTT protocol encoding and decoding operations
This module defines the error hierarchy used throughout the codec crate:
HandshakeError: Errors during the initial MQTT connection handshakeProtocolError: Higher-level protocol errors (decode, encode, timeout)DecodeError: Specific errors that occur when parsing MQTT packets from bytesEncodeError: Specific errors that occur when serializing MQTT packets to bytesSendPacketError: Errors that occur when preparing a packet for transmission
Enumsยง
- Decode
Error - Errors that occur when decoding/parsing MQTT packets from a byte stream
- Encode
Error - Errors that occur when encoding/serializing MQTT packets to a byte stream
- Handshake
Error - Errors which can occur during mqtt connection handshake.
- Protocol
Error - Protocol level errors
- Send
Packet Error - Errors that occur when sending MQTT packets