#[repr(u8)]pub enum Sleep {
PAUSE = 0,
RUN = 1,
}
Variants§
PAUSE = 0
Pause watchdog while the CPU is asleep.
RUN = 1
Do not pause watchdog while the CPU is asleep.
Implementations§
Trait Implementations§
Source§impl Ord for Sleep
impl Ord for Sleep
Source§impl PartialOrd for Sleep
impl PartialOrd for Sleep
impl Copy for Sleep
impl Eq for Sleep
impl StructuralPartialEq for Sleep
Auto Trait Implementations§
impl Freeze for Sleep
impl RefUnwindSafe for Sleep
impl Send for Sleep
impl Sync for Sleep
impl Unpin for Sleep
impl UnwindSafe for Sleep
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
)