pub enum CortexMError {
MemoryManagementFault,
BusFault,
UsageFault,
HardFault,
DebugMonitorFault,
PendSVFault,
}Expand description
ARM Cortex-M generic errors
Variants§
MemoryManagementFault
Memory management fault
BusFault
Bus fault
UsageFault
Usage fault
HardFault
Hard fault
DebugMonitorFault
Debug monitor fault
PendSVFault
PendSV fault
Trait Implementations§
Source§impl Clone for CortexMError
impl Clone for CortexMError
Source§fn clone(&self) -> CortexMError
fn clone(&self) -> CortexMError
Returns a duplicate 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 CortexMError
impl Debug for CortexMError
Source§impl From<CortexMError> for PlatformError
impl From<CortexMError> for PlatformError
Source§fn from(error: CortexMError) -> Self
fn from(error: CortexMError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CortexMError
impl PartialEq for CortexMError
impl Copy for CortexMError
impl Eq for CortexMError
impl StructuralPartialEq for CortexMError
Auto Trait Implementations§
impl Freeze for CortexMError
impl RefUnwindSafe for CortexMError
impl Send for CortexMError
impl Sync for CortexMError
impl Unpin for CortexMError
impl UnwindSafe for CortexMError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more