rs-zero 0.2.22

Rust-first microservice framework inspired by go-zero engineering practices
Documentation
//! MQTT adapter built on top of rumqttc.

mod config;
mod context;
mod error;
mod handler;
mod message;
mod publisher;
mod readiness;
mod service;
mod service_config;

pub use config::{
    MqttClientAuthConfig, MqttConfig, MqttQoS, MqttReconnectConfig, MqttSubscription,
    MqttTlsConfig, MqttTopicLabelMode,
};
pub use context::MqttContext;
pub use error::{MqttError, MqttResult};
pub use handler::MqttHandler;
pub use message::MqttMessage;
pub use publisher::MqttPublisher;
pub use readiness::{MqttConnectionState, MqttReadiness};
pub use service::MqttService;
#[doc(hidden)]
pub use service::{handle_message_for_test, handle_message_with_context_for_test};
pub use service_config::{
    MqttAuthSection, MqttBrokerSection, MqttReconnectSection, MqttSection, MqttServiceConfig,
    MqttTlsSection, MqttTopicLabelModeSection,
};