#[repr(u32)]pub enum ResetType {
Processor = 1,
PowerOn = 2,
Unknown(u32),
}Expand description
The type of reset the processor most recently underwent.
Variants§
Processor = 1
A processor reset, where volatile memory areas may have been preserved.
PowerOn = 2
A power-on reset, where all memory has been cleared.
Unknown(u32)
An unknown or unhandled reset type.
Trait Implementations§
impl Copy for ResetType
impl Eq for ResetType
impl StructuralPartialEq for ResetType
Auto Trait Implementations§
impl Freeze for ResetType
impl RefUnwindSafe for ResetType
impl Send for ResetType
impl Sync for ResetType
impl Unpin for ResetType
impl UnsafeUnpin for ResetType
impl UnwindSafe for ResetType
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