pub async fn pull_result_from_tcp( stream: &mut TcpStream, eof: &[u8], ) -> Result<Vec<u8>>
Read from the provided TcpStream until we read the value of the eof argument. Return all data read before eof`.
TcpStream
eof
. Return all data read before