pub trait JProxy: JObjNew + JObjRef {
// Required method
fn new(fields: Self::Fields) -> Arc<Self>;
// Provided method
fn release(&self) { ... }
}
Expand description
用于Java动态代理的创建和删除。
Required Methods§
Provided Methods§
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.