[−]Struct jni_android_sys::java::io::FilePermission
public final class FilePermission
Required feature: java-io-FilePermission
Methods
impl FilePermission
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, FilePermission>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, FilePermission>>
Required features: "java-lang-String"
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 get_actions<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
Methods from Deref<Target = Permission>
pub fn check_guard<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<()>
Required features: "java-lang-Object"
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 get_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn get_actions<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn new_permission_collection<'env>(
&'env self
) -> Result<Option<Local<'env, PermissionCollection>>>
[src]
&'env self
) -> Result<Option<Local<'env, PermissionCollection>>>
Required features: "java-security-PermissionCollection"
Trait Implementations
impl AsRef<Serializable> for FilePermission
fn as_ref(&self) -> &Serializable
impl Deref for FilePermission
impl AsValidJObjectAndEnv for FilePermission
impl AsJValue for FilePermission
Auto Trait Implementations
impl !Sync for FilePermission
impl !Send for FilePermission
impl Unpin for FilePermission
impl RefUnwindSafe for FilePermission
impl UnwindSafe for FilePermission
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,