Struct std::ffi::IntoStringError
[−]
[src]
pub struct IntoStringError {
// some fields omitted
}1.7.0An error returned from CString::into_string to indicate that a UTF-8 error
was encountered during the conversion.
Methods
impl IntoStringError
fn into_cstring(self) -> CString
Consumes this error, returning original CString which generated the
error.
fn utf8_error(&self) -> Utf8Error
Access the underlying UTF-8 error that was the cause of this error.