#[repr(u8)]pub enum Reset {
NO_RESET = 0,
SOFT_RESET = 1,
HARD_RESET = 2,
_RESERVED_3 = 3,
PIN_RESET = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
NO_RESET = 0
No reset is generated
SOFT_RESET = 1
Perform a device soft reset
HARD_RESET = 2
Perform a device hard reset
_RESERVED_3 = 3
PIN_RESET = 4
Perform a device pin reset
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for Reset
impl Ord for Reset
Source§impl PartialOrd for Reset
impl PartialOrd for Reset
impl Copy for Reset
impl Eq for Reset
impl StructuralPartialEq for Reset
Auto Trait Implementations§
impl Freeze for Reset
impl RefUnwindSafe for Reset
impl Send for Reset
impl Sync for Reset
impl Unpin for Reset
impl UnwindSafe for Reset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)