[][src]Enum e310x_hal::pmu::ResetCause

pub enum ResetCause {
    PowerOn,
    External,
    WatchDog,
}

Enumeration of device reset causes

Variants

PowerOn

Reset due to power on

External

Reset due to external input (button)

WatchDog

Reset due to watchdog

Trait Implementations

impl Clone for ResetCause[src]

impl Copy for ResetCause[src]

impl Debug for ResetCause[src]

impl Eq for ResetCause[src]

impl PartialEq<ResetCause> for ResetCause[src]

impl StructuralEq for ResetCause[src]

impl StructuralPartialEq for ResetCause[src]

Auto Trait Implementations

impl Send for ResetCause

impl Sync for ResetCause

impl Unpin for ResetCause

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.