pub enum EntryMode {
Reset,
Reboot,
None,
}Expand description
Determines how Rescue::enter should enter rescue mode.
Variants§
Reset
Reset the chip using the external power-on reset signal.
Reboot
Assume the chip is in rescue mode and needs to soft-reboot back to rescue mode.
None
Do nothing; assume the chip is ready to go to rescue mode.
Trait Implementations§
impl Copy for EntryMode
impl Eq for EntryMode
impl StructuralPartialEq for EntryMode
Auto Trait Implementations§
impl Freeze for EntryMode
impl RefUnwindSafe for EntryMode
impl Send for EntryMode
impl Sync for EntryMode
impl Unpin for EntryMode
impl UnwindSafe for EntryMode
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