pub fn publish<W5500: Registers>(
        &mut self,
        w5500: &mut W5500,
        topic: &str,
        payload: &[u8],
    ) -> Result<(), Error<W5500::Error>> {
        let writer: TlsWriter<W5500> = self.tls.writer(w5500).map_err(map_tls_writer_err)?;
        send_publish(writer, topic, payload).map_err(Error::map_w5500)
    }
/// Publish data to the MQTT broker.
Publish data to the MQTT broker.
Publish data to the MQTT broker .
pub fn publish<W5500: Registers>(
        &mut self,
        w5500: &mut W5500,
        topic: &str,
        payload: &[u8],
    ) -> Result<(), Error<W5500::Error>> {
        let writer: TlsWriter<W5500> = self.tls.writer(w5500).map_err(map_tls_writer_err)?;
        send_publish(writer, topic, payload).map_err(Error::map_w5500)
    }
pub fn publish < W5500 : Registers > ( & mut self , w5500 : & mut W5500 , topic : & str , payload : & [ u8 ] , ) -> Result < ( ) , Error < W5500 :: Error > > { let writer : TlsWriter < W5500 > = self . tls . writer ( w5500 ) . map_err ( map_tls_writer_err ) ? ; send_publish ( writer , topic , payload ) . map_err ( Error :: map_w5500 ) }
Publish data to the MQTT broker.
Publish data to the MQTT broker .
&mut self
w5500
&mut W5500
topic
&str
payload
&[u8]
&mut self
w5500
&mut W5500
topic
&str
payload
&[u8]