pub fn serialize_into<W, T>(write: &mut W, value: &T) -> Result<()>where W: ?Sized + Write, T: ?Sized + Serialize,
Same as to_bytes but write directly into an std::io::Write object.
to_bytes
std::io::Write