Enum jni::errors::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    WrongJValueType(&'static str, &'static str),
    InvalidCtorReturn,
    InvalidArgList,
    MethodNotFound(String),
    JavaException,
    JNIEnvMethodNotFound(&'static str),
    NullPtr(&'static str),
    NullDeref(&'static str),
}

Variants

Methods

impl ErrorKind

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.