[]Struct jni_android_sys::dalvik::system::InMemoryDexClassLoader

#[repr(transparent)]
pub struct InMemoryDexClassLoader(_);

public final class InMemoryDexClassLoader

Required feature: "dalvik-system-InMemoryDexClassLoader"

Methods

impl InMemoryDexClassLoader

pub fn new_ByteBuffer_array_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
    arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, InMemoryDexClassLoader>, Local<'env, Throwable>>
[src]

InMemoryDexClassLoader

Required features: "java-lang-ClassLoader", "java-nio-ByteBuffer"

pub fn new_ByteBuffer_ClassLoader<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteBuffer>>,
    arg1: impl Into<Option<&'env ClassLoader>>
) -> Result<Local<'env, InMemoryDexClassLoader>, Local<'env, Throwable>>
[src]

InMemoryDexClassLoader

Required features: "java-lang-ClassLoader", "java-nio-ByteBuffer"

Methods from Deref<Target = BaseDexClassLoader>

pub fn findLibrary<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

findLibrary

Required features: "java-lang-String"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for InMemoryDexClassLoader

impl AsValidJObjectAndEnv for InMemoryDexClassLoader

impl Deref for InMemoryDexClassLoader

type Target = BaseDexClassLoader

The resulting type after dereferencing.

impl JniType for InMemoryDexClassLoader

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.