to_writer

Function to_writer 

Source
pub fn to_writer<W: Write>(data: &Data, writer: W) -> Result<()>
Expand description

Attempts to serialize a Data struct to something that implements the std::io::Write trait