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
sourceimpl Clone for DebugModuleVersion
impl Clone for DebugModuleVersion
sourcefn clone(&self) -> DebugModuleVersion
fn clone(&self) -> DebugModuleVersion
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 DebugModuleVersion
impl Debug for DebugModuleVersion
sourceimpl From<u8> for DebugModuleVersion
impl From<u8> for DebugModuleVersion
sourceimpl PartialEq<DebugModuleVersion> for DebugModuleVersion
impl PartialEq<DebugModuleVersion> for DebugModuleVersion
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DebugModuleVersion) -> bool
fn ne(&self, other: &DebugModuleVersion) -> bool
This method tests for !=
.
impl Copy 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
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