#[repr(u8)]pub enum TimeoutCtrl {
_RESERVED_0 = 0,
ENABLE_RESET = 1,
ENABLE_INTERRUPT = 2,
_RESERVED_3 = 3,
DISABLE_BOTH = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
_RESERVED_0 = 0
ENABLE_RESET = 1
Enable reset
ENABLE_INTERRUPT = 2
Enable interrupt
_RESERVED_3 = 3
DISABLE_BOTH = 4
Disable both reset and interrupt
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl TimeoutCtrl
impl TimeoutCtrl
Trait Implementations§
Source§impl Clone for TimeoutCtrl
impl Clone for TimeoutCtrl
Source§fn clone(&self) -> TimeoutCtrl
fn clone(&self) -> TimeoutCtrl
Returns a duplicate 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 Debug for TimeoutCtrl
impl Debug for TimeoutCtrl
Source§impl From<TimeoutCtrl> for u8
impl From<TimeoutCtrl> for u8
Source§fn from(val: TimeoutCtrl) -> u8
fn from(val: TimeoutCtrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TimeoutCtrl
impl From<u8> for TimeoutCtrl
Source§fn from(val: u8) -> TimeoutCtrl
fn from(val: u8) -> TimeoutCtrl
Converts to this type from the input type.
Source§impl Ord for TimeoutCtrl
impl Ord for TimeoutCtrl
Source§fn cmp(&self, other: &TimeoutCtrl) -> Ordering
fn cmp(&self, other: &TimeoutCtrl) -> 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 TimeoutCtrl
impl PartialEq for TimeoutCtrl
Source§impl PartialOrd for TimeoutCtrl
impl PartialOrd for TimeoutCtrl
impl Copy for TimeoutCtrl
impl Eq for TimeoutCtrl
impl StructuralPartialEq for TimeoutCtrl
Auto Trait Implementations§
impl Freeze for TimeoutCtrl
impl RefUnwindSafe for TimeoutCtrl
impl Send for TimeoutCtrl
impl Sync for TimeoutCtrl
impl Unpin for TimeoutCtrl
impl UnwindSafe for TimeoutCtrl
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