Function serde_mtproto::ser::to_writer
[−]
[src]
pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()> where
W: Write,
T: Serialize,
Serialize the given data structure as binary MTProto into the IO stream.