[−]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>>
[src]
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<()>
Required features: "java-security-Permission"
pub fn implies<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool>
Required features: "java-security-Permission"
pub fn elements<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>
[src]
Required features: "java-util-Enumeration"
Methods from Deref<Target = PermissionCollection>
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<()>
Required features: "java-security-Permission"
pub fn implies<'env>(
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Permission>>
) -> Result<bool>
Required features: "java-security-Permission"
pub fn elements<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>
[src]
Required features: "java-util-Enumeration"
pub fn set_read_only<'env>(&'env self) -> Result<()>
[src]
pub fn is_read_only<'env>(&'env self) -> Result<bool>
[src]
Trait Implementations
impl AsRef<Serializable> for Permissions
fn as_ref(&self) -> &Serializable
impl Deref for Permissions
type Target = PermissionCollection
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl AsValidJObjectAndEnv for Permissions
impl AsJValue for Permissions
Auto Trait Implementations
impl !Sync for Permissions
impl !Send for Permissions
impl Unpin for Permissions
impl RefUnwindSafe for Permissions
impl UnwindSafe for Permissions
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,