Enum stm32_metapac::eth::vals::MacahrSa
#[repr(u8)]pub enum MacahrSa {
DESTINATION = 0,
SOURCE = 1,
}
Variants§
DESTINATION = 0
This address is used for comparison with DA fields of the received frame
SOURCE = 1
This address is used for comparison with SA fields of received frames
Implementations§
Trait Implementations§
§impl Ord for MacahrSa
impl Ord for MacahrSa
§impl PartialOrd for MacahrSa
impl PartialOrd for MacahrSa
§fn partial_cmp(&self, other: &MacahrSa) -> Option<Ordering>
fn partial_cmp(&self, other: &MacahrSa) -> 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 MacahrSa
impl Eq for MacahrSa
impl StructuralEq for MacahrSa
impl StructuralPartialEq for MacahrSa
Auto Trait Implementations§
impl RefUnwindSafe for MacahrSa
impl Send for MacahrSa
impl Sync for MacahrSa
impl Unpin for MacahrSa
impl UnwindSafe for MacahrSa
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