pub fn to_writer(
    writer: &mut impl ?Sized + Write,
    value: &impl Serialize
) -> Result<(), Error>
Expand description

Serializes value into writer.

See serializer for information about the data format.