fn write_queued_records(&mut self) -> Result<(), Report> {
    while let Some(record) = self.queue.remove(&self.expected_index) {
      self.write_impl(record)?;
      self.expected_index += 1;
    }
    Ok(())
  }
/// In in-order mode, writes all queued records with indices subsequent to the next expected index.
/// On out-of-order mode, does nothing - the queue is always empty.
In in-order mode, writes all queued records with indices subsequent to the next expected index.
On out-of-order mode, does nothing - the queue is always empty.
In in - order mode writes all queued records with indices subsequent to the next expected index . On out - of - order mode does nothing - the queue is always empty .
fn write_queued_records(&mut self) -> Result<(), Report> {
    while let Some(record) = self.queue.remove(&self.expected_index) {
      self.write_impl(record)?;
      self.expected_index += 1;
    }
    Ok(())
  }
fn write_queued_records ( & mut self ) -> Result < ( ) , Report > { while let Some ( record ) = self . queue . remove ( & self . expected_index ) { self . write_impl ( record ) ? ; self . expected_index += 1 ; } Ok ( ( ) ) }
In in-order mode, writes all queued records with indices subsequent to the next expected index.
In in - order mode writes all queued records with indices subsequent to the next expected index .
&mut self
&mut self