/// Attempts to send any queued messages to the peer via the RFCOMM `connection`.
/// Returns Error if there was an error sending the queued messages.
Attempts to send any queued messages to the peer via the RFCOMM `connection`.
Returns Error if there was an error sending the queued messages.
Attempts to send any queued messages to the peer via the RFCOMM ` connection ` . Returns Error if there was an error sending the queued messages .
async fn send_queued(&mut self) -> Result<(), zx::Status> {
        if let Some(connection) = &mut self.connection {
            connection.send_queued().await?;
        }
        Ok(())
    }
async fn send_queued ( & mut self ) -> Result < ( ) , zx :: Status > { if let Some ( connection ) = & mut self . connection { connection . send_queued ( ) . await ? ; } Ok ( ( ) ) }
Attempts to send any queued messages to the peer via the RFCOMM `connection`.
Attempts to send any queued messages to the peer via the RFCOMM ` connection ` .
&mut self