Enum stm32_metapac::eth::vals::Rod
#[repr(u8)]pub enum Rod {
ENABLED = 0,
DISABLED = 1,
}
Variants§
ENABLED = 0
MAC receives all packets from PHY while transmitting
DISABLED = 1
MAC disables reception of frames in half-duplex mode
Implementations§
Trait Implementations§
§impl Ord for Rod
impl Ord for Rod
§impl PartialOrd for Rod
impl PartialOrd for Rod
§fn partial_cmp(&self, other: &Rod) -> Option<Ordering>
fn partial_cmp(&self, other: &Rod) -> 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 Rod
impl Eq for Rod
impl StructuralEq for Rod
impl StructuralPartialEq for Rod
Auto Trait Implementations§
impl RefUnwindSafe for Rod
impl Send for Rod
impl Sync for Rod
impl Unpin for Rod
impl UnwindSafe for Rod
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