#[repr(u32)]pub enum StateType {
Invalid = 0,
Unloaded = 1,
Connected = 2,
Attaching = 3,
Launching = 4,
Stopped = 5,
Running = 6,
Stepping = 7,
Crashed = 8,
Detached = 9,
Exited = 10,
Suspended = 11,
}
Expand description
Process and thread states.
Variants§
Invalid = 0
Unloaded = 1
Process object is valid, but not currently loaded.
Connected = 2
Process is connected to remote debug services, but not launched or attached to anything yet.
Attaching = 3
Process is currently trying to attach.
Launching = 4
Process is currently trying to launch.
Stopped = 5
Process or thread is stopped and can be examined.
Running = 6
Process or thread is running and can’t be examined.
Stepping = 7
Process or thread is in the process of stepping and can’t be examined.
Crashed = 8
Process or thread has crashed and can be examined.
Detached = 9
Process has been detached and can’t be examined.
Exited = 10
Process has exited and can’t be examined.
Suspended = 11
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 PartialOrd for StateType
impl PartialOrd for StateType
impl Copy for StateType
impl Eq for StateType
impl StructuralPartialEq for StateType
Auto Trait Implementations§
impl Freeze for StateType
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