Function preserves::error::eof

source ·
pub fn eof() -> Error
Expand description

Produce the generic “end of file” error, Error::Io(io_eof())