Module client

Module client 

Source
Expand description

MQTT v5.0 Client - Direct Async Implementation

This client uses direct async/await patterns throughout.

Re-exports§

pub use self::mock::MockCall;
pub use self::mock::MockMqttClient;
pub use self::trait::MqttClientTrait;

Modules§

mock
Mock MQTT Client for Testing
trait
MQTT Client Trait for Mockability

Structs§

ErrorRecoveryConfig
Error recovery configuration
MqttClient
Thread-safe MQTT v5.0 client
ReconnectConfig
Reconnection configuration
RetryState
Retry state for tracking retry attempts

Enums§

ConnectionEvent
Connection events
DisconnectReason
Reasons for disconnection
RecoverableError
Types of errors that can be automatically recovered

Type Aliases§

ConnectionEventCallback
Type alias for connection event callback
ErrorCallback
Error callback type