Struct sgx_tstd::ffi::IntoStringError [−][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]
impl IntoStringError
pub fn into_cstring(self) -> CString
[src]
pub fn into_cstring(self) -> CString
Consumes this error, returning original CString
which generated the
error.
pub fn utf8_error(&self) -> Utf8Error
[src]
pub fn utf8_error(&self) -> Utf8Error
Access the underlying UTF-8 error that was the cause of this error.
pub fn __description(&self) -> &str
[src]
pub fn __description(&self) -> &str
pub fn __cause(&self) -> Option<&Utf8Error>
[src]
pub fn __cause(&self) -> Option<&Utf8Error>
Trait Implementations
impl Debug for IntoStringError
[src]
impl Debug for IntoStringError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for IntoStringError
[src]
impl Clone for IntoStringError
fn clone(&self) -> IntoStringError
[src]
fn clone(&self) -> IntoStringError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq<IntoStringError> for IntoStringError
[src]
impl PartialEq<IntoStringError> for IntoStringError
fn eq(&self, other: &IntoStringError) -> bool
[src]
fn eq(&self, other: &IntoStringError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IntoStringError) -> bool
[src]
fn ne(&self, other: &IntoStringError) -> bool
This method tests for !=
.
impl Eq for IntoStringError
[src]
impl Eq for IntoStringError
impl Display for IntoStringError
[src]
impl Display for IntoStringError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for IntoStringError
[src]
impl Error for IntoStringError
Auto Trait Implementations
impl Send for IntoStringError
impl Send for IntoStringError
impl Sync for IntoStringError
impl Sync for IntoStringError