Struct cstr_core::IntoStringError [−][src]
pub struct IntoStringError { /* fields omitted */ }Expand description
An error indicating invalid UTF-8 when converting a CString into a String.
CString is just a wrapper over a buffer of bytes with a nul
terminator; into_string performs UTF-8
validation on those bytes and may return this error.
This struct is created by the
into_string method on CString. See
its documentation for more.
Implementations
Consumes this error, returning original CString which generated the
error.
Access the underlying UTF-8 error that was the cause of this error.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more