[−][src]Trait rumq_core::mqtt4::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>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
packet: &'life1 Packet
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> 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>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
string: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> 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>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
len: usize
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
Implementors
impl<W: AsyncWriteExt + ?Sized + Unpin> AsyncMqttWrite for W
[src]
Implement MqttWrite for every AsyncWriteExt type (and hence AsyncWrite type)