[−]Struct jni_android_sys::java::lang::ThreadGroup
public class ThreadGroup
Required feature: "java-lang-ThreadGroup"
Methods
impl ThreadGroup
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, ThreadGroup>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, ThreadGroup>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_ThreadGroup_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ThreadGroup>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, ThreadGroup>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ThreadGroup>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, ThreadGroup>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-lang-ThreadGroup"
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 getParent<'env>(
&'env self
) -> Result<Option<Local<'env, ThreadGroup>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ThreadGroup>>, Local<'env, Throwable>>
Required features: "java-lang-ThreadGroup"
pub fn getMaxPriority<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isDaemon<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDestroyed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setDaemon<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setMaxPriority<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn parentOf<'env>(
&'env self,
arg0: impl Into<Option<&'env ThreadGroup>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ThreadGroup>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-ThreadGroup"
pub fn checkAccess<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn activeCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn enumerate_Thread_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Thread, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Thread, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Thread"
pub fn enumerate_Thread_array_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Thread, Throwable>>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Thread, Throwable>>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Thread"
pub fn activeGroupCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn enumerate_ThreadGroup_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ThreadGroup, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ThreadGroup, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-ThreadGroup"
pub fn enumerate_ThreadGroup_array_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ThreadGroup, Throwable>>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ThreadGroup, Throwable>>>,
arg1: bool
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-ThreadGroup"
pub fn stop<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Deprecated
pub fn interrupt<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn suspend<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Deprecated
pub fn resume<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Deprecated
pub fn destroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn list<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn uncaughtException<'env>(
&'env self,
arg0: impl Into<Option<&'env Thread>>,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Thread>>,
arg1: impl Into<Option<&'env Throwable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Thread", "java-lang-Throwable"
pub fn allowThreadSuspension<'env>(
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
Deprecated
pub fn toString<'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"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'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 notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ThreadGroup
impl AsRef<Thread_UncaughtExceptionHandler> for ThreadGroup
fn as_ref(&self) -> &Thread_UncaughtExceptionHandler
impl AsValidJObjectAndEnv for ThreadGroup
impl Deref for ThreadGroup
impl JniType for ThreadGroup
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ThreadGroup
impl !Send for ThreadGroup
impl !Sync for ThreadGroup
impl Unpin for ThreadGroup
impl UnwindSafe for ThreadGroup
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>,