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 IntoStringErrorpub fn into_cstring(self) -> CString[src]
pub fn into_cstring(self) -> CStringConsumes this error, returning original CString which generated the
error.
pub fn utf8_error(&self) -> Utf8Error[src]
pub fn utf8_error(&self) -> Utf8ErrorAccess the underlying UTF-8 error that was the cause of this error.
pub fn __description(&self) -> &str[src]
pub fn __description(&self) -> &strpub fn __cause(&self) -> Option<&Utf8Error>[src]
pub fn __cause(&self) -> Option<&Utf8Error>Trait Implementations
impl Debug for IntoStringError[src]
impl Debug for IntoStringErrorfn 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 IntoStringErrorfn clone(&self) -> IntoStringError[src]
fn clone(&self) -> IntoStringErrorReturns 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 IntoStringErrorfn eq(&self, other: &IntoStringError) -> bool[src]
fn eq(&self, other: &IntoStringError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for IntoStringError[src]
impl Eq for IntoStringErrorimpl Display for IntoStringError[src]
impl Display for IntoStringErrorfn 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 IntoStringErrorAuto Trait Implementations
impl Send for IntoStringError
impl Send for IntoStringErrorimpl Sync for IntoStringError
impl Sync for IntoStringError