Expand description

This is the Eclipse Paho MQTT client library for the Rust language.

Re-exports

pub use crate::async_client::*;
pub use crate::client::*;
pub use crate::client_persistence::*;
pub use crate::connect_options::*;
pub use crate::create_options::*;
pub use crate::disconnect_options::*;
pub use crate::errors::*;
pub use crate::message::*;
pub use crate::name_value::*;
pub use crate::properties::*;
pub use crate::reason_code::*;
pub use crate::response_options::*;
pub use crate::server_response::*;
pub use crate::ssl_options::*;
pub use crate::subscribe_options::*;
pub use crate::token::*;
pub use crate::topic::*;
pub use crate::topic_matcher::TopicMatcher;
pub use crate::types::*;
pub use crate::will_options::*;

Modules

The asynchronous API The Asynchronous client module for the Paho MQTT Rust client library.

The synchronous API This contains the synchronous Client interface for the Paho MQTT Rust library.

Definitions for creating user-defined persistence.

Options for connecting to the server. Connect options for the Paho MQTT Rust client library.

Client creation options

Options for disconnecting from the server. Disconnect options for the Paho MQTT Rust client library. This contains the structures to define the options for disconnecting from the MQTT broker/server.

The MQTT errors

The message object

Utility for creating name/value string pair collections (to pass to the C library).

MQTT 5v properties. MQTT v5 properties.

MQTT v5 Reason Codes The Reason Code module for the Paho MQTT Rust client library.

Options for responses coming back from the C lib. Response options for the Paho MQTT Rust client library.

Responses coming back from the server. The Token module for the Paho MQTT Rust client library.

Connect options for creating secure connections to the server.

Utility for creating string collections (to pass to the C library).

Options for subscribing to topics MQTT v5 subscribe options for the Paho MQTT Rust client library. These are defined in section 3.8.3.1 of the MQTT v5 spec. The defaults use the behavior that was present in MQTT v3.1.1.

Tokens to monitor asynchronous operations The Token module for the Paho MQTT Rust client library.

Options for creating topic objects that are associated with a particular server. Objects for manipulating and checking message topics.

Code to match MQTT topics to filters that may contain wildcards.

Miscelaneous types MQTT support types

Connect options for the Last Will and Testament (LWT) message. Last Will and Testament (LWT) options for the Paho MQTT Rust client library.

Macros

Creates a collection of properties

Structs

The receiving side of a channel.

The receiving side of a channel.

Functions

Converts a C integer boolean to a Rust bool

Convert a Rust bool to a Paho C boolean

Type Definitions

Generic type for arbitrary user-supplied data.