W3cubDocs

/Rust

Enum std::io::CharsError

pub enum CharsError {
    NotUtf8,
    Other(Error),
}
🔬 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

🔬 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.

🔬 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]

[src]

Formats the value using the given formatter. Read more

impl Error for CharsError [src]

[src]

A short description of the error. Read more

[src]

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

impl Display for CharsError [src]

[src]

Formats the value using the given formatter. Read more

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/io/enum.CharsError.html