Crate utf8_chars
source · [−]Structs
A structure, containing read bytes, and an io::Error
.
The io::Error
is an actual I/O error if some occurred,
or a synthetic error with either the UnexpectedEof
kind if a multi-byte char was unexpectedly terminated,
either the InvalidData
kind if no actual I/O error occurred, but read byte sequence was not recognised as a valid UTF-8.
Traits
Extends BufRead
with methods for reading chars.