[−]Struct jni_android_sys::java::net::SocketPermission
public final class SocketPermission
Required feature: java-net-SocketPermission
Methods
impl SocketPermission
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SocketPermission>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SocketPermission>>
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 SocketPermission
fn as_ref(&self) -> &Serializable
impl Deref for SocketPermission
impl AsValidJObjectAndEnv for SocketPermission
impl AsJValue for SocketPermission
Auto Trait Implementations
impl !Sync for SocketPermission
impl !Send for SocketPermission
impl Unpin for SocketPermission
impl RefUnwindSafe for SocketPermission
impl UnwindSafe for SocketPermission
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,