pub enum StopReason {
Signal(u8),
Exited(u64, u8),
ExitedWithSignal(u64, u8),
ThreadExited(ThreadId, u64),
NoMoreThreads,
}
Expand description
The possible reasons for a thread to stop.
Variants§
Signal(u8)
Process stopped due to a signal.
Exited(u64, u8)
The process with the given PID exited with the given status.
ExitedWithSignal(u64, u8)
The process with the given PID terminated due to the given signal.
ThreadExited(ThreadId, u64)
The indicated thread exited with the given status.
NoMoreThreads
There are no remaining resumed threads.
Trait Implementations§
Source§impl Clone for StopReason
impl Clone for StopReason
Source§fn clone(&self) -> StopReason
fn clone(&self) -> StopReason
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 StopReason
impl Debug for StopReason
impl Copy for StopReason
Auto Trait Implementations§
impl Freeze for StopReason
impl RefUnwindSafe for StopReason
impl Send for StopReason
impl Sync for StopReason
impl Unpin for StopReason
impl UnwindSafe for StopReason
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