Enum atmega_hal::wdt::Timeout
source · [−]pub enum Timeout {
Ms16,
Ms32,
Ms64,
Ms125,
Ms250,
Ms500,
Ms1000,
Ms2000,
Ms4000,
Ms8000,
}
Expand description
Watchdog Timeout
Variants
Ms16
16 milliseconds
Ms32
32 milliseconds
Ms64
64 milliseconds
Ms125
125 milliseconds
Ms250
250 milliseconds
Ms500
500 milliseconds
Ms1000
1 second
Ms2000
2 seconds
Ms4000
4 seconds
Ms8000
8 seconds
Trait Implementations
sourceimpl Ord for Timeout
impl Ord for Timeout
sourceimpl PartialOrd<Timeout> for Timeout
impl PartialOrd<Timeout> for Timeout
sourcefn partial_cmp(&self, other: &Timeout) -> Option<Ordering>
fn partial_cmp(&self, other: &Timeout) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Timeout
impl Eq for Timeout
impl StructuralEq for Timeout
impl StructuralPartialEq for Timeout
Auto Trait Implementations
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more