Struct redox::string::FromUtf8Error [] [src]

pub struct FromUtf8Error {
    // some fields omitted
}

A possible error value from the String::from_utf8 function.

Methods

impl FromUtf8Error

fn into_bytes(self) -> Vec<u8>

Consumes this error, returning the bytes that were attempted to make a String with.

fn utf8_error(&self) -> Utf8Error

Access the underlying UTF8-error that was the cause of this error.

Trait Implementations

impl Display for FromUtf8Error

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

impl Error for FromUtf8Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for FromUtf8Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>