rmqttc 1.0.8

rmqttc is a client for the MQTT V5 protocol. based on rumqttc
Documentation
1
2
3
4
5
6
use crate::MqttEvent;
pub use rumqttc::v5::mqttbytes::v5::Publish as Message;
pub trait IHandler: Send + Sync + 'static {
    fn on_event(&self, event: MqttEvent);
    fn on_message(&self, msg: Message);
}