Enum rust_jni::JniVersion[][src]

pub enum JniVersion {
    V1,
    V2,
    V4,
    V6,
    V8,
    Unknown(i32),
}

JNI Version enum.

Maps to the jni_sys::JNI_VERSION_1_* constants.

JNI documentation

Variants

JNI 1.1.

JNI 1.2.

JNI 1.4.

JNI 1.6.

JNI 1.8.

Unknown version. Needed for forward compability and to request a version that has not been added yet.

Trait Implementations

impl Debug for JniVersion
[src]

Formats the value using the given formatter. Read more

impl Copy for JniVersion
[src]

impl Clone for JniVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for JniVersion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for JniVersion
[src]

Auto Trait Implementations

impl Send for JniVersion

impl Sync for JniVersion