Function to_writer

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