[]Struct jni_android_sys::java::security::UnresolvedPermission

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

public final class UnresolvedPermission

Required feature: "java-security-UnresolvedPermission"

Methods

impl UnresolvedPermission

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>
) -> Result<Local<'env, UnresolvedPermission>, Local<'env, Throwable>>
[src]

UnresolvedPermission

Required features: "java-lang-String", "java-security-cert-Certificate"

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

implies

Required features: "java-security-Permission"

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

getActions

Required features: "java-lang-String"

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

getUnresolvedType

Required features: "java-lang-String"

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

getUnresolvedName

Required features: "java-lang-String"

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

getUnresolvedActions

Required features: "java-lang-String"

pub fn getUnresolvedCerts<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]

getUnresolvedCerts

Required features: "java-security-cert-Certificate"

Methods from Deref<Target = Permission>

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

checkGuard

Required features: "java-lang-Object"

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

implies

Required features: "java-security-Permission"

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

getName

Required features: "java-lang-String"

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

getActions

Required features: "java-lang-String"

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

newPermissionCollection

Required features: "java-security-PermissionCollection"

Trait Implementations

impl AsJValue for UnresolvedPermission

impl AsRef<Serializable> for UnresolvedPermission

impl AsValidJObjectAndEnv for UnresolvedPermission

impl Deref for UnresolvedPermission

type Target = Permission

The resulting type after dereferencing.

impl JniType for UnresolvedPermission

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.