Enum jdbc::JNIVersion
source · pub enum JNIVersion {
V1,
V2,
V4,
V6,
V8,
Invalid(i32),
}
Expand description
JNI Version
This maps to the jni_sys::JNI_VERSION_1_*
constants.
Variants§
Trait Implementations§
source§impl Clone for JNIVersion
impl Clone for JNIVersion
source§fn clone(&self) -> JNIVersion
fn clone(&self) -> JNIVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JNIVersion
impl Debug for JNIVersion
source§impl From<i32> for JNIVersion
impl From<i32> for JNIVersion
source§fn from(other: i32) -> JNIVersion
fn from(other: i32) -> JNIVersion
Converts to this type from the input type.
impl Copy for JNIVersion
Auto Trait Implementations§
impl RefUnwindSafe for JNIVersion
impl Send for JNIVersion
impl Sync for JNIVersion
impl Unpin for JNIVersion
impl UnwindSafe for JNIVersion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more