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§
Source§impl PCFR
impl PCFR
Sourcepub fn is_prevent_all(&self) -> bool
pub fn is_prevent_all(&self) -> bool
Checks if the value of the field is PREVENTALL
Sourcepub 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
Sourcepub fn is_forward_all(&self) -> bool
pub fn is_forward_all(&self) -> bool
Checks if the value of the field is FORWARDALL
Sourcepub 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 Freeze for PCFR
impl RefUnwindSafe for PCFR
impl Send for PCFR
impl Sync for PCFR
impl Unpin for PCFR
impl UnwindSafe for PCFR
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