[][src]Crate utf8_chars

Structs

Chars

An iterator over the chars of an instance of BufRead.

IoChars

An iterator over the chars of an instance of BufRead. In contrast to Chars, 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.

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.