Enum utf8::BufReadDecoderError[][src]

pub enum BufReadDecoderError<'a> {
    InvalidByteSequence(&'a [u8]),
    Io(Error),
}

Variants

Represents one UTF-8 error in the byte stream.

In lossy decoding, each such error should be replaced with U+FFFD. (See BufReadDecoder::next_lossy and BufReadDecoderError::lossy.)

An I/O error from the underlying byte stream

Methods

impl<'a> BufReadDecoderError<'a>
[src]

Replace UTF-8 errors with U+FFFD

Auto Trait Implementations

impl<'a> Send for BufReadDecoderError<'a>

impl<'a> Sync for BufReadDecoderError<'a>