Crate utf8_chars[][src]

Structs

Chars

An iterator over the chars of an instance of BufRead. In contrast to CharsRaw, the error type is io::Error, and therefore more likely to be drop-in compatible, at the price of losing the UTF-8 context bytes in the error message.

CharsRaw

An iterator over the chars of an instance of BufRead.

ReadCharError

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

BufReadCharsExt

Extends BufRead with methods for reading chars.