Enum ffi_utils::string::StringError
[−]
[src]
pub enum StringError { Utf8(String), Null(String), IntoString(String), }
Error type for strings
Variants
Utf8(String)
UTF8 error
Null(String)
Null error
IntoString(String)
IntoString error
Trait Implementations
impl Debug for StringError
[src]
impl Eq for StringError
[src]
impl PartialEq for StringError
[src]
fn eq(&self, __arg_0: &StringError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StringError) -> bool
[src]
This method tests for !=
.
impl From<Utf8Error> for StringError
[src]
impl From<NulError> for StringError
[src]
impl From<IntoStringError> for StringError
[src]
fn from(e: IntoStringError) -> Self
[src]
Performs the conversion.