fn queue_messages_to_peer_until_error(
        &mut self,
        messages: &[at::Response],
    ) -> Result<(), at::SerializeError<at::Response>> {
        let mut bytes = Vec::new();
        at::Response::serialize(&mut bytes, messages)?;
        if let Some(connection) = &mut self.connection {
            connection.queue_data(bytes);
        }
        Ok(())
    }
/// Adds the sequence of AT `messages` to the queue of outgoing data packets, until there is
/// a serialization error..
/// Returns Error if serialization fails, OK otherwise.
Adds the sequence of AT `messages` to the queue of outgoing data packets, until there is
a serialization error
Returns Error if serialization fails, OK otherwise.
Adds the sequence of AT ` messages ` to the queue of outgoing data packets until there is a serialization error Returns Error if serialization fails OK otherwise .
fn queue_messages_to_peer_until_error(
        &mut self,
        messages: &[at::Response],
    ) -> Result<(), at::SerializeError<at::Response>> {
        let mut bytes = Vec::new();
        at::Response::serialize(&mut bytes, messages)?;
        if let Some(connection) = &mut self.connection {
            connection.queue_data(bytes);
        }
        Ok(())
    }
fn queue_messages_to_peer_until_error ( & mut self , messages : & [ at :: Response ] , ) -> Result < ( ) , at :: SerializeError < at :: Response > > { let mut bytes = Vec :: new ( ) ; at :: Response :: serialize ( & mut bytes , messages ) ? ; if let Some ( connection ) = & mut self . connection { connection . queue_data ( bytes ) ; } Ok ( ( ) ) }
Adds the sequence of AT `messages` to the queue of outgoing data packets, until there is
a serialization error..
Returns Error if serialization fails, OK otherwise.
Adds the sequence of AT ` messages ` to the queue of outgoing data packets until there is a serialization error .. Returns Error if serialization fails OK otherwise .
&mut self
messages
&[at::Response]
&mut self
messages
&[at::Response]