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.