Enum probe_rs::HaltReason
source · [−]pub enum HaltReason {
Multiple,
Breakpoint,
Exception,
Watchpoint,
Step,
Request,
External,
Unknown,
}
Expand description
The reason why a core was halted.
Variants
Multiple
Multiple reasons for a halt.
This can happen for example when a single instruction step ends up on a breakpoint, after which both breakpoint and step / request are set.
Breakpoint
Core halted due to a breakpoint, either a soft or a hard breakpoint.
Exception
Core halted due to an exception, e.g. an an interrupt.
Watchpoint
Core halted due to a data watchpoint
Step
Core halted after single step
Request
Core halted because of a debugger request
External
External halt request
Unknown
Unknown reason for halt.
This can happen for example when the core is already halted when we connect.
Trait Implementations
sourceimpl Clone for HaltReason
impl Clone for HaltReason
sourcefn clone(&self) -> HaltReason
fn clone(&self) -> HaltReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HaltReason
impl Debug for HaltReason
sourceimpl PartialEq<HaltReason> for HaltReason
impl PartialEq<HaltReason> for HaltReason
impl Copy for HaltReason
impl StructuralPartialEq for HaltReason
Auto Trait Implementations
impl RefUnwindSafe for HaltReason
impl Send for HaltReason
impl Sync for HaltReason
impl Unpin for HaltReason
impl UnwindSafe for HaltReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more