grin_p2p::msg
pub fn read_body<T: Readable>( h: &MsgHeader, stream: &mut dyn Read) -> Result<T, Error>
Read a message body from the provided stream, always blocking until we have a result (or timeout).