Struct collections::str::Utf8Error [] [src]

pub struct Utf8Error {
    // some fields omitted
}

Errors which can occur when attempting to interpret a sequence of u8 as a string.

As such, the from_utf8 family of functions and methods for both Strings and &strs make use of this error, for example.