Enum stm32_metapac::eth::vals::Pcf
#[repr(u8)]pub enum Pcf {
PREVENTALL = 0,
FORWARDALLEXCEPTPAUSE = 1,
FORWARDALL = 2,
FORWARDALLFILTERED = 3,
}
Variants§
PREVENTALL = 0
MAC prevents all control frames from reaching the application
FORWARDALLEXCEPTPAUSE = 1
MAC forwards all control frames to application except Pause
FORWARDALL = 2
MAC forwards all control frames to application even if they fail the address filter
FORWARDALLFILTERED = 3
MAC forwards control frames that pass the address filter
Implementations§
Trait Implementations§
§impl Ord for Pcf
impl Ord for Pcf
§impl PartialOrd for Pcf
impl PartialOrd for Pcf
§fn partial_cmp(&self, other: &Pcf) -> Option<Ordering>
fn partial_cmp(&self, other: &Pcf) -> 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 Pcf
impl Eq for Pcf
impl StructuralEq for Pcf
impl StructuralPartialEq for Pcf
Auto Trait Implementations§
impl RefUnwindSafe for Pcf
impl Send for Pcf
impl Sync for Pcf
impl Unpin for Pcf
impl UnwindSafe for Pcf
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