pub enum ThreadState {
New,
Running,
Suspended,
Blocked(ThreadBlockType),
Dying,
Dead,
Unknown(u32),
}
Variants§
Trait Implementations§
Source§impl Clone for ThreadState
impl Clone for ThreadState
Source§fn clone(&self) -> ThreadState
fn clone(&self) -> ThreadState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThreadState
impl Debug for ThreadState
Source§impl PartialEq for ThreadState
impl PartialEq for ThreadState
impl Copy for ThreadState
impl Eq for ThreadState
impl StructuralPartialEq for ThreadState
Auto Trait Implementations§
impl Freeze for ThreadState
impl RefUnwindSafe for ThreadState
impl Send for ThreadState
impl Sync for ThreadState
impl Unpin for ThreadState
impl UnwindSafe for ThreadState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)