[]Struct jni_android_sys::javax::security::auth::AuthPermission

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

public final class AuthPermission

Required feature: "javax-security-auth-AuthPermission"

Methods

impl AuthPermission

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, AuthPermission>, Local<'env, Throwable>>
[src]

AuthPermission

Required features: "java-lang-String"

pub fn new_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, AuthPermission>, Local<'env, Throwable>>
[src]

AuthPermission

Required features: "java-lang-String"

Methods from Deref<Target = BasicPermission>

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"

Trait Implementations

impl AsJValue for AuthPermission

impl AsValidJObjectAndEnv for AuthPermission

impl Deref for AuthPermission

type Target = BasicPermission

The resulting type after dereferencing.

impl JniType for AuthPermission

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.