Trait embedded_svc::mqtt::client::Client
source · pub trait Client: ErrorType {
// Required methods
fn subscribe<'a>(
&'a mut self,
topic: &'a str,
qos: QoS,
) -> Result<MessageId, Self::Error>;
fn unsubscribe<'a>(
&'a mut self,
topic: &'a str,
) -> Result<MessageId, Self::Error>;
}