Enum stm32_metapac::eth::vals::Wd
#[repr(u8)]pub enum Wd {
ENABLED = 0,
DISABLED = 1,
}
Variants§
ENABLED = 0
Watchdog enabled, receive frames limited to 2048 bytes
DISABLED = 1
Watchdog disabled, receive frames may be up to to 16384 bytes
Implementations§
Trait Implementations§
§impl Ord for Wd
impl Ord for Wd
§impl PartialOrd for Wd
impl PartialOrd for Wd
§fn partial_cmp(&self, other: &Wd) -> Option<Ordering>
fn partial_cmp(&self, other: &Wd) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for Wd
impl Eq for Wd
impl StructuralEq for Wd
impl StructuralPartialEq for Wd
Auto Trait Implementations§
impl RefUnwindSafe for Wd
impl Send for Wd
impl Sync for Wd
impl Unpin for Wd
impl UnwindSafe for Wd
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