pub trait ReadMsg<M: Message + Default> { // Required method fn read_msg(&mut self) -> Result<M>; }
Read the given Protobuf message from the underlying I/O object.
Read from the underlying I/O object, decoding (and if necessary decrypting) the data to the given Protobuf message.