Enum std::io::CharsError[][src]

pub enum CharsError {
    NotUtf8,
    Other(Error),
}
Deprecated since 1.27.0

: Use str::from_utf8 instead: https://doc.rust-lang.org/nightly/std/str/struct.Utf8Error.html#examples

🔬 This is a nightly-only experimental API. (io #27802)

awaiting stability of Read::chars

An enumeration of possible errors that can be generated from the Chars adapter.

Variants

Deprecated since 1.27.0

: Use str::from_utf8 instead: https://doc.rust-lang.org/nightly/std/str/struct.Utf8Error.html#examples

🔬 This is a nightly-only experimental API. (io #27802)

awaiting stability of Read::chars

Variant representing that the underlying stream was read successfully but it did not contain valid utf8 data.

Deprecated since 1.27.0

: Use str::from_utf8 instead: https://doc.rust-lang.org/nightly/std/str/struct.Utf8Error.html#examples

🔬 This is a nightly-only experimental API. (io #27802)

awaiting stability of Read::chars

Variant representing that an I/O error occurred.

Trait Implementations

impl Debug for CharsError
[src]

Formats the value using the given formatter. Read more

impl Error for CharsError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for CharsError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CharsError

impl Sync for CharsError