pub enum DebugModuleVersion {
NoModule,
Version0_11,
Version0_13,
NonConforming,
Unknown(u8),
}
Expand description
List of all debug module versions.
The version of the debug module can be read from the version field of the dmstatus
register.
Variants§
NoModule
There is no debug module present.
Version0_11
The debug module conforms to the version 0.11 of the RISCV Debug Specification.
Version0_13
The debug module conforms to the version 0.13 of the RISCV Debug Specification.
NonConforming
The debug module is present, but does not conform to any available version of the RISCV Debug Specification.
Unknown(u8)
Unknown debug module version.
Trait Implementations§
source§impl Clone for DebugModuleVersion
impl Clone for DebugModuleVersion
source§fn clone(&self) -> DebugModuleVersion
fn clone(&self) -> DebugModuleVersion
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 DebugModuleVersion
impl Debug for DebugModuleVersion
source§impl From<u8> for DebugModuleVersion
impl From<u8> for DebugModuleVersion
source§impl PartialEq<DebugModuleVersion> for DebugModuleVersion
impl PartialEq<DebugModuleVersion> for DebugModuleVersion
source§fn eq(&self, other: &DebugModuleVersion) -> bool
fn eq(&self, other: &DebugModuleVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DebugModuleVersion
impl Eq for DebugModuleVersion
impl StructuralEq for DebugModuleVersion
impl StructuralPartialEq for DebugModuleVersion
Auto Trait Implementations§
impl RefUnwindSafe for DebugModuleVersion
impl Send for DebugModuleVersion
impl Sync for DebugModuleVersion
impl Unpin for DebugModuleVersion
impl UnwindSafe for DebugModuleVersion
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.