[][src]Crate paho_mqtt

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::create_options::*;
pub use crate::connect_options::*;
pub use crate::will_options::*;
pub use crate::ssl_options::*;
pub use crate::disconnect_options::*;
pub use crate::subscribe_options::*;
pub use crate::response_options::*;
pub use crate::server_response::*;
pub use crate::properties::*;
pub use crate::message::*;
pub use crate::name_value::*;
pub use crate::token::*;
pub use crate::topic::*;
pub use crate::reason_code::*;
pub use crate::types::*;
pub use crate::client_persistence::*;
pub use crate::errors::*;

Modules

async_client

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

client

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

client_persistence

Definitions for creating user-defined persistence.

connect_options

Options for connecting to the server. Connect options for the Paho MQTT Rust client library. This contains the structures to define the options for connecting to the MQTT broker/server.

create_options

Client creation options

disconnect_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.

errors

The MQTT errors

message

The message object

name_value

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

properties

MQTT 5v properties. MQTT v5 properties.

reason_code

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

response_options

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

server_response

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

ssl_options

Connect options for creating secure connections to the server.

string_collection

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

subscribe_options

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.

token

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

topic

Options for creating topic objects that are associated with a particular server.

types

Miscelaneous types MQTT support types

will_options

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

Macros

properties

Functions

from_c_bool

Converts a C integer boolean to a Rust bool

to_c_bool

Convert a Rust bool to a Paho C boolean

Type Definitions

UserData

Generic type for arbitrary user-supplied data.