Enum bluenrg::event::CrashReason[][src]

pub enum CrashReason {
    Assertion,
    NmiFault,
    HardFault,
}

Specific reason for the fault reported with FaultData.

Variants

The controller reset because an assertion failed.

The controller reset because of an NMI fault.

The controller reset because of a hard fault.

Trait Implementations

impl Clone for CrashReason
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CrashReason
[src]

impl Debug for CrashReason
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CrashReason
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<u8> for CrashReason
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl Send for CrashReason

impl Sync for CrashReason