Enum std::io::CharsError [−][src]
pub enum CharsError {
NotUtf8,
Other(Error),
}: 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
NotUtf8: 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.
Other(Error): 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]
impl Debug for CharsErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CharsError[src]
impl Error for CharsErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for CharsError[src]
impl Display for CharsErrorAuto Trait Implementations
impl Send for CharsError
impl Send for CharsErrorimpl Sync for CharsError
impl Sync for CharsError