Struct std::ffi::IntoStringError 1.7.0
[−]
[src]
pub struct IntoStringError { /* fields omitted */ }An error returned from CString::into_string to indicate that a UTF-8 error
was encountered during the conversion.
Methods
impl IntoStringError[src]
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.
Trait Implementations
impl Clone for IntoStringError[src]
fn clone(&self) -> IntoStringError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for IntoStringError[src]
fn eq(&self, __arg_0: &IntoStringError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &IntoStringError) -> bool
This method tests for !=.
impl Eq for IntoStringError[src]
impl Debug for IntoStringError[src]
impl Error for IntoStringError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more