pub fn finish(mut self) -> io::Result<W> {
        self.shutdown()?;
        match self.writer.take() {
            InnerCabinetWriter::Raw(writer) => Ok(writer),
            _ => unreachable!(),
        }
    }
/// Finishes writing the cabinet file, and returns the underlying writer.
Finishes writing the cabinet file, and returns the underlying writer.
Finishes writing the cabinet file and returns the underlying writer .
pub fn finish(mut self) -> io::Result<W> {
        self.shutdown()?;
        match self.writer.take() {
            InnerCabinetWriter::Raw(writer) => Ok(writer),
            _ => unreachable!(),
        }
    }
pub fn finish ( mut self ) -> io :: Result < W > { self . shutdown ( ) ? ; match self . writer . take ( ) { InnerCabinetWriter :: Raw ( writer ) => Ok ( writer ) , _ => unreachable ! ( ) , } }
Finishes writing the cabinet file, and returns the underlying writer.
Finishes writing the cabinet file and returns the underlying writer .
mut self
mut self