pub struct IntoStringError { /* fields omitted */ }
An error returned from CString::into_string to indicate that a UTF-8 error was encountered during the conversion.
impl IntoStringError
[src]
fn into_cstring(self) -> CStringConsumes this error, returning original CString which generated the error.
fn utf8_error(&self) -> Utf8ErrorAccess the underlying UTF-8 error that was the cause of this error.
impl Clone for IntoStringError
[src]
fn clone(&self) -> IntoStringErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for IntoStringError
[src]
fn eq(&self, __arg_0: &IntoStringError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &IntoStringError) -> boolThis method tests for !=.
impl Eq for IntoStringError
[src]
impl Debug for IntoStringError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter.
impl Error for IntoStringError
[src]
fn description(&self) -> &strA short description of the error. Read more
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for IntoStringError
[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter.
© 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/ffi/struct.IntoStringError.html