Skip to main content

flush_to_writer

Function flush_to_writer 

Source
pub fn flush_to_writer<T, W>(encoder: &mut T, writer: W) -> Result<(), Error>
where T: Encoder + ?Sized, W: Write,
Expand description

Flushes the output of an Encoder to a standard I/O writer.

See encode_to_writer for more information.

ยงErrors

Returns any I/O error encountered while writing to the writer.