[]Struct jni_android_sys::java::security::SecureClassLoader

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

public class SecureClassLoader

Required feature: "java-security-SecureClassLoader"

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]

loadClass

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]

getResource

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]

getResources

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]

getResourceAsStream

Required features: "java-io-InputStream", "java-lang-String"

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

getParent

Required features: "java-lang-ClassLoader"

pub fn setDefaultAssertionStatus<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

setPackageAssertionStatus

Required features: "java-lang-String"

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

setClassAssertionStatus

Required features: "java-lang-String"

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

Trait Implementations

impl AsJValue for SecureClassLoader

impl AsValidJObjectAndEnv for SecureClassLoader

impl Deref for SecureClassLoader

type Target = ClassLoader

The resulting type after dereferencing.

impl JniType for SecureClassLoader

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.