[−]Struct jni_android_sys::java::security::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]
__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>>
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]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-security-Permission"
pub fn getActions<'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"
pub fn getUnresolvedType<'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"
pub fn getUnresolvedName<'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"
pub fn getUnresolvedActions<'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"
pub fn getUnresolvedCerts<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn implies<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-security-Permission"
pub fn getName<'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"
pub fn getActions<'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"
pub fn newPermissionCollection<'env>(
&'env self
) -> Result<Option<Local<'env, PermissionCollection>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PermissionCollection>>, Local<'env, Throwable>>
Required features: "java-security-PermissionCollection"
Trait Implementations
impl AsJValue for UnresolvedPermission
impl AsRef<Serializable> for UnresolvedPermission
fn as_ref(&self) -> &Serializable
impl AsValidJObjectAndEnv for UnresolvedPermission
impl Deref for UnresolvedPermission
impl JniType for UnresolvedPermission
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for UnresolvedPermission
impl !Send for UnresolvedPermission
impl !Sync for UnresolvedPermission
impl Unpin for UnresolvedPermission
impl UnwindSafe for UnresolvedPermission
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>,