grin_p2p::msg
pub fn read_message<T>(conn: &mut TcpStream, msg_type: Type) -> Result<T, Error> where T: Readable,
Reads a full message from the underlying connection.