pub fn dump<W>(&self, mut writer: W) -> io::Result<()>
	where
		W: Write
	{
		let buffer = &mut self.0.lock();

		writer.write_all(
			buffer.as_bytes()
		)?;

		buffer.clear();

		Ok(())
	}
/// Dump the contents to a writer, cleaning the buffered contents.
Dump the contents to a writer, cleaning the buffered contents.
Dump the contents to a writer cleaning the buffered contents .
pub fn dump<W>(&self, mut writer: W) -> io::Result<()>
	where
		W: Write
	{
		let buffer = &mut self.0.lock();
		writer.write_all(
			buffer.as_bytes()
		)?;
		buffer.clear();
		Ok(())
	}
pub fn dump < W > ( & self , mut writer : W ) -> io :: Result < ( ) > where W : Write { let buffer = & mut self . 0 . lock ( ) ; writer . write_all ( buffer . as_bytes ( ) ) ? ; buffer . clear ( ) ; Ok ( ( ) ) }
Dump the contents to a writer, cleaning the buffered contents.
Dump the contents to a writer cleaning the buffered contents .
&self
writer
W
&self
writer
W