#[repr(u8)]pub enum WatchdogMask {
IRQENABLE = 0,
IRQDISABLE = 1,
}
Variants§
IRQENABLE = 0
Do not mask the watchdog interrupt i.e. interrupt is generated
IRQDISABLE = 1
Mask the watchdog interrupt i.e. no interrupt is generated
Implementations§
Source§impl WatchdogMask
impl WatchdogMask
Trait Implementations§
Source§impl Clone for WatchdogMask
impl Clone for WatchdogMask
Source§fn clone(&self) -> WatchdogMask
fn clone(&self) -> WatchdogMask
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<WatchdogMask> for u8
impl From<WatchdogMask> for u8
Source§fn from(val: WatchdogMask) -> u8
fn from(val: WatchdogMask) -> u8
Converts to this type from the input type.
Source§impl From<u8> for WatchdogMask
impl From<u8> for WatchdogMask
Source§fn from(val: u8) -> WatchdogMask
fn from(val: u8) -> WatchdogMask
Converts to this type from the input type.
Source§impl Ord for WatchdogMask
impl Ord for WatchdogMask
Source§fn cmp(&self, other: &WatchdogMask) -> Ordering
fn cmp(&self, other: &WatchdogMask) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WatchdogMask
impl PartialEq for WatchdogMask
Source§impl PartialOrd for WatchdogMask
impl PartialOrd for WatchdogMask
impl Copy for WatchdogMask
impl Eq for WatchdogMask
impl StructuralPartialEq for WatchdogMask
Auto Trait Implementations§
impl Freeze for WatchdogMask
impl RefUnwindSafe for WatchdogMask
impl Send for WatchdogMask
impl Sync for WatchdogMask
impl Unpin for WatchdogMask
impl UnwindSafe for WatchdogMask
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
)