[−][src]Trait rumq_client::AsyncMqttWrite
Mqtt awareness on top of tokio's AsyncWrite
Provided methods
#[must_use]fn async_mqtt_write<'life0, 'life1, 'async_trait>(
&'life0 mut self,
packet: &'life1 Packet
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
packet: &'life1 Packet
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn write_mqtt_string<'life0, 'life1, 'async_trait>(
&'life0 mut self,
string: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
string: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
#[must_use]fn write_remaining_length<'life0, 'async_trait>(
&'life0 mut self,
len: usize
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
len: usize
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
Implementors
impl<W> AsyncMqttWrite for W where
W: Unpin + AsyncWriteExt + ?Sized,
[src]
W: Unpin + AsyncWriteExt + ?Sized,
Implement MqttWrite for every AsyncWriteExt type (and hence AsyncWrite type)