pub fn clear_all(&mut self, writer: &mut Writer) -> DatabaseResult<()> {
        self.public_entries.clear_all(writer)?;
        if let Some(private) = &mut self.private_entries {
            private.clear_all(writer)?
        }
        self.headers.clear_all(writer)
    }
/// Clear all scratch and db, useful for tests
Clear all scratch and db, useful for tests
Clear all scratch and db useful for tests
pub fn clear_all(&mut self, writer: &mut Writer) -> DatabaseResult<()> {
        self.public_entries.clear_all(writer)?;
        if let Some(private) = &mut self.private_entries {
            private.clear_all(writer)?
        }
        self.headers.clear_all(writer)
    }
pub fn clear_all ( & mut self , writer : & mut Writer ) -> DatabaseResult < ( ) > { self . public_entries . clear_all ( writer ) ? ; if let Some ( private ) = & mut self . private_entries { private . clear_all ( writer ) ? } self . headers . clear_all ( writer ) }
Clear all scratch and db, useful for tests
Clear all scratch and db useful for tests
&mut self
writer
&mut Writer
&mut self
writer
&mut Writer