pub trait HierExt<'local> {
// Required methods
fn get_java_version(&mut self) -> Result<JavaVersion>;
fn class_name<'other_local, T>(&mut self, class: T) -> Result<String>
where T: Desc<'local, JClass<'other_local>>;
}
Expand description
Required Methods§
Sourcefn get_java_version(&mut self) -> Result<JavaVersion>
fn get_java_version(&mut self) -> Result<JavaVersion>
Gets the java version currently the jni environment is running on.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.