[−]Struct jni_android_sys::dalvik::system::BaseDexClassLoader
public class BaseDexClassLoader
Required feature: "dalvik-system-BaseDexClassLoader"
Methods
impl BaseDexClassLoader
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env File>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, BaseDexClassLoader>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env File>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, BaseDexClassLoader>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-ClassLoader", "java-lang-String"
pub fn findLibrary<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
Methods from Deref<Target = ClassLoader>
pub fn loadClass<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-String"
pub fn getResource<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, URL>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, URL>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-URL"
pub fn getResources<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Enumeration"
pub fn getResourceAsStream<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
Required features: "java-io-InputStream", "java-lang-String"
pub fn getParent<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader"
pub fn setDefaultAssertionStatus<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setPackageAssertionStatus<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setClassAssertionStatus<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn clearAssertionStatus<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for BaseDexClassLoader
impl AsValidJObjectAndEnv for BaseDexClassLoader
impl Deref for BaseDexClassLoader
impl JniType for BaseDexClassLoader
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BaseDexClassLoader
impl !Send for BaseDexClassLoader
impl !Sync for BaseDexClassLoader
impl Unpin for BaseDexClassLoader
impl UnwindSafe for BaseDexClassLoader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,