Function to_writer

Source
pub fn to_writer<T, W>(value: &T, writer: W) -> Result<(), Error>
where W: Write, T: Serialize,