pub fn finish(&mut self) -> Result<()> {
        if self.started && !self.finished {
            self.format.end_stream(&mut self.writer)?;
            self.finished = true;
        }
        Ok(())
    }
/// Finishes the output stream. This function must be called after
/// all record batches have been produced. (e.g. producing the final `']'` if writing
/// arrays.
Finishes the output stream. This function must be called after
all record batches have been produced.
Finishes the output stream . This function must be called after all record batches have been produced .
pub fn finish(&mut self) -> Result<()> {
        if self.started && !self.finished {
            self.format.end_stream(&mut self.writer)?;
            self.finished = true;
        }
        Ok(())
    }
pub fn finish ( & mut self ) -> Result < ( ) > { if self . started && ! self . finished { self . format . end_stream ( & mut self . writer ) ? ; self . finished = true ; } Ok ( ( ) ) }
Finishes the output stream.
Finishes the output stream .
&mut self
&mut self