Skip to main content

SysexitReason

Enum SysexitReason 

Source
#[repr(u32)]
pub enum SysexitReason {
Show 18 variants ADP_Stopped_BranchThroughZero = 131_072, ADP_Stopped_UndefinedInstr = 131_073, ADP_Stopped_SoftwareInterrupt = 131_074, ADP_Stopped_PrefetchAbort = 131_075, ADP_Stopped_DataAbort = 131_076, ADP_Stopped_AddressException = 131_077, ADP_Stopped_IRQ = 131_078, ADP_Stopped_FIQ = 131_079, ADP_Stopped_BreakPoint = 131_104, ADP_Stopped_WatchPoint = 131_105, ADP_Stopped_StepComplete = 131_106, ADP_Stopped_RunTimeErrorUnknown = 131_107, ADP_Stopped_InternalError = 131_108, ADP_Stopped_UserInterruption = 131_109, ADP_Stopped_ApplicationExit = 131_110, ADP_Stopped_StackOverflow = 131_111, ADP_Stopped_DivisionByZero = 131_112, ADP_Stopped_OSSpecific = 131_113,
}
Expand description

Reason codes for SysExit under semihosting.

See ARM documentation for details: https://support.arm.com/documentation/dui0471/e/semihosting/angel-swireason-reportexception--0x18-?lang=en

Variants§

§

ADP_Stopped_BranchThroughZero = 131_072

§

ADP_Stopped_UndefinedInstr = 131_073

§

ADP_Stopped_SoftwareInterrupt = 131_074

§

ADP_Stopped_PrefetchAbort = 131_075

§

ADP_Stopped_DataAbort = 131_076

§

ADP_Stopped_AddressException = 131_077

§

ADP_Stopped_IRQ = 131_078

§

ADP_Stopped_FIQ = 131_079

§

ADP_Stopped_BreakPoint = 131_104

§

ADP_Stopped_WatchPoint = 131_105

§

ADP_Stopped_StepComplete = 131_106

§

ADP_Stopped_RunTimeErrorUnknown = 131_107

§

ADP_Stopped_InternalError = 131_108

§

ADP_Stopped_UserInterruption = 131_109

§

ADP_Stopped_ApplicationExit = 131_110

§

ADP_Stopped_StackOverflow = 131_111

§

ADP_Stopped_DivisionByZero = 131_112

§

ADP_Stopped_OSSpecific = 131_113

Trait Implementations§

Source§

impl Clone for SysexitReason

Source§

fn clone(&self) -> SysexitReason

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SysexitReason

Source§

impl Debug for SysexitReason

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for SysexitReason

Source§

impl PartialEq for SysexitReason

Source§

fn eq(&self, other: &SysexitReason) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SysexitReason

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.