pub fn read_message<M, R>(read: &mut R) -> Result<M, Error>where M: Message, R: Read,
Reads a message from a given input stream.