Enum stm32_metapac::eth::vals::Pd
#[repr(u8)]pub enum Pd {
_RESERVED_0 = 0,
ENABLED = 1,
}
Variants§
_RESERVED_0 = 0
ENABLED = 1
All received frames will be dropped. Cleared automatically when a magic packet or wakeup frame is received
Implementations§
Trait Implementations§
§impl Ord for Pd
impl Ord for Pd
§impl PartialOrd for Pd
impl PartialOrd for Pd
§fn partial_cmp(&self, other: &Pd) -> Option<Ordering>
fn partial_cmp(&self, other: &Pd) -> 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 Pd
impl Eq for Pd
impl StructuralEq for Pd
impl StructuralPartialEq for Pd
Auto Trait Implementations§
impl RefUnwindSafe for Pd
impl Send for Pd
impl Sync for Pd
impl Unpin for Pd
impl UnwindSafe for Pd
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