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§
Trait Implementations§
source§impl Clone for CoreStatus
impl Clone for CoreStatus
source§fn clone(&self) -> CoreStatus
fn clone(&self) -> CoreStatus
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 CoreStatus
impl Debug for CoreStatus
source§impl PartialEq<CoreStatus> for CoreStatus
impl PartialEq<CoreStatus> for CoreStatus
source§fn 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 ==
.impl Copy for CoreStatus
impl Eq for CoreStatus
impl StructuralEq 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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.