[][src]Function grin_p2p::msg::read_body

pub fn read_body<T>(h: &MsgHeader, conn: &mut TcpStream) -> Result<T, Error> where
    T: Readable

Read a message body from the provided connection, always blocking until we have a result (or timeout).