Enum stm32_metapac::eth::vals::Apcs
#[repr(u8)]pub enum Apcs {
DISABLED = 0,
STRIP = 1,
}
Variants§
DISABLED = 0
MAC passes all incoming frames unmodified
STRIP = 1
MAC strips the Pad/FCS field on incoming frames only for lengths less than or equal to 1500 bytes
Implementations§
Trait Implementations§
§impl Ord for Apcs
impl Ord for Apcs
§impl PartialOrd for Apcs
impl PartialOrd for Apcs
§fn partial_cmp(&self, other: &Apcs) -> Option<Ordering>
fn partial_cmp(&self, other: &Apcs) -> 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 Apcs
impl Eq for Apcs
impl StructuralEq for Apcs
impl StructuralPartialEq for Apcs
Auto Trait Implementations§
impl RefUnwindSafe for Apcs
impl Send for Apcs
impl Sync for Apcs
impl Unpin for Apcs
impl UnwindSafe for Apcs
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