pub fn to_writer( writer: &mut impl ?Sized + Write, value: &impl Serialize) -> Result<(), Error>
Serializes value into writer.
value
writer
See serializer for information about the data format.
serializer