Enum probe_rs::CoreStatus
source · [−]pub enum CoreStatus {
Running,
Halted(HaltReason),
LockedUp,
Sleeping,
Unknown,
}
Expand description
The status of the core.
Variants
Running
The core is currently running.
Halted(HaltReason)
The core is currently halted. This also specifies the reason as a payload.
LockedUp
This is a Cortex-M specific status, and will not be set or handled by RISCV code.
Sleeping
The core is currently sleeping.
Unknown
The core state is currently unknown. This is always the case when the core is first created.
Implementations
sourceimpl CoreStatus
impl CoreStatus
Trait Implementations
sourceimpl Clone for CoreStatus
impl Clone for CoreStatus
sourcefn clone(&self) -> CoreStatus
fn clone(&self) -> CoreStatus
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 CoreStatus
impl Debug for CoreStatus
sourceimpl PartialEq<CoreStatus> for CoreStatus
impl PartialEq<CoreStatus> for CoreStatus
sourcefn eq(&self, other: &CoreStatus) -> bool
fn eq(&self, other: &CoreStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CoreStatus) -> bool
fn ne(&self, other: &CoreStatus) -> bool
This method tests for !=
.
impl Copy for CoreStatus
impl StructuralPartialEq for CoreStatus
Auto Trait Implementations
impl RefUnwindSafe for CoreStatus
impl Send for CoreStatus
impl Sync for CoreStatus
impl Unpin for CoreStatus
impl UnwindSafe for CoreStatus
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