#[non_exhaustive]
pub enum Kind {
Hapi(HapiResult),
NullByte(NulError),
Utf8Error(FromUtf8Error),
Io(Error),
Internal(Cow<'static, str>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Hapi(HapiResult)
Error returned by ffi calls
NullByte(NulError)
CString contains null byte
Utf8Error(FromUtf8Error)
String is not a valid utf-8
Io(Error)
IO Error
Internal(Cow<'static, str>)
Misc error message from this crate.