read_exact provides a variant of read_exact that succeeds on EOF if no data has been read.
read_exact
See the documentation for up to date information.