Trait embedded_svc::mqtt::client::Publish
source · pub trait Publish: ErrorType {
// Required method
fn publish<'a>(
&'a mut self,
topic: &'a str,
qos: QoS,
retain: bool,
payload: &'a [u8],
) -> Result<MessageId, Self::Error>;
}