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

Serializes a value to a writer.