[−]Struct jni_android_sys::java::security::Permissions
public final class Permissions
Required feature: "java-security-Permissions"
Methods
impl Permissions
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, Permissions>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, Permissions>, Local<'env, Throwable>>
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-security-Permission"
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 elements<'env>(
&'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
Required features: "java-util-Enumeration"
Methods from Deref<Target = PermissionCollection>
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-security-Permission"
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 elements<'env>(
&'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Enumeration>>, Local<'env, Throwable>>
Required features: "java-util-Enumeration"
pub fn setReadOnly<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn isReadOnly<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Permissions
impl AsRef<Serializable> for Permissions
fn as_ref(&self) -> &Serializable
impl AsValidJObjectAndEnv for Permissions
impl Deref for Permissions
type Target = PermissionCollection
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for Permissions
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Permissions
impl !Send for Permissions
impl !Sync for Permissions
impl Unpin for Permissions
impl UnwindSafe for Permissions
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>,