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) -> 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.
impl Clone for IntoStringError
[src]
fn clone(&self) -> IntoStringError
Returns 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) -> 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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter.
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
impl Display for IntoStringError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats 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