Function to_writer

Source
pub fn to_writer<W>(writer: W, value: &impl Serialize) -> Result<()>
where W: Write,
Available on crate feature serde only.
Expand description

Serialize a value into a given writer.