Enum stm32f429i_disc::stm32f4::stm32f429::ethernet_mac::macffr::PCFR
pub enum PCFR {
PREVENTALL,
FORWARDALLEXCEPTPAUSE,
FORWARDALL,
FORWARDALLFILTERED,
}
Expand description
Possible values of the field PCF
Variants
PREVENTALL
MAC prevents all control frames from reaching the application
FORWARDALLEXCEPTPAUSE
MAC forwards all control frames to application except Pause
FORWARDALL
MAC forwards all control frames to application even if they fail the address filter
FORWARDALLFILTERED
MAC forwards control frames that pass the address filter
Implementations
impl PCFR
impl PCFR
pub fn is_prevent_all(&self) -> bool
pub fn is_prevent_all(&self) -> bool
Checks if the value of the field is PREVENTALL
pub fn is_forward_all_except_pause(&self) -> bool
pub fn is_forward_all_except_pause(&self) -> bool
Checks if the value of the field is FORWARDALLEXCEPTPAUSE
pub fn is_forward_all(&self) -> bool
pub fn is_forward_all(&self) -> bool
Checks if the value of the field is FORWARDALL
pub fn is_forward_all_filtered(&self) -> bool
pub fn is_forward_all_filtered(&self) -> bool
Checks if the value of the field is FORWARDALLFILTERED
Trait Implementations
impl Copy for PCFR
impl StructuralPartialEq for PCFR
Auto Trait Implementations
impl RefUnwindSafe for PCFR
impl Send for PCFR
impl Sync for PCFR
impl Unpin for PCFR
impl UnwindSafe for PCFR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more