#[repr(u32)]pub enum StateType {
Invalid,
Unloaded,
Connected,
Attaching,
Launching,
Stopped,
Running,
Stepping,
Crashed,
Detached,
Exited,
Suspended,
}
Expand description
Process and thread states.
Variants§
Invalid
Unloaded
Process object is valid, but not currently loaded.
Connected
Process is connected to remote debug services, but not launched or attached to anything yet.
Attaching
Process is currently trying to attach.
Launching
Process is currently trying to launch.
Stopped
Process or thread is stopped and can be examined.
Running
Process or thread is running and can’t be examined.
Stepping
Process or thread is in the process of stepping and can’t be examined.
Crashed
Process or thread has crashed and can be examined.
Detached
Process has been detached and can’t be examined.
Exited
Process has exited and can’t be examined.
Suspended
Process or thread is in a suspended state as far as the debugger is concerned while other processes or threads get the chance to run.
Trait Implementations§
source§impl PartialEq<StateType> for StateType
impl PartialEq<StateType> for StateType
source§impl PartialOrd<StateType> for StateType
impl PartialOrd<StateType> for StateType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StateType
impl Eq for StateType
impl StructuralEq for StateType
impl StructuralPartialEq for StateType
Auto Trait Implementations§
impl RefUnwindSafe for StateType
impl Send for StateType
impl Sync for StateType
impl Unpin for StateType
impl UnwindSafe for StateType
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