Crate iowrap

Crate iowrap 

Source
Expand description

Some utility methods for wrapping std::io::Read and std::io::Write.

Structs§

Eof
Track whether a stream has hit the end of file.
Ignore
Ignore all IO requests made on this object.
Pos
Track how many bytes have been read from a stream.
ShortRead
Intentionally return short reads, to test Read code.

Traits§

ReadMany
Retry read if it read short, to check we’re at the end of the file.