Trait embedded_svc::mqtt::client::Enqueue

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

Required Methods§

source

fn enqueue<'a>( &'a mut self, topic: &'a str, qos: QoS, retain: bool, payload: &'a [u8], ) -> Result<MessageId, Self::Error>

Implementations on Foreign Types§

source§

impl<E> Enqueue for &mut E
where E: Enqueue,

source§

fn enqueue<'a>( &'a mut self, topic: &'a str, qos: QoS, retain: bool, payload: &'a [u8], ) -> Result<MessageId, Self::Error>

Implementors§