Enum Pcf
#[repr(u8)]pub enum Pcf {
PreventAll = 0,
ForwardAllExceptPause = 1,
ForwardAll = 2,
ForwardAllFiltered = 3,
}Variants§
PreventAll = 0
The MAC filters all control packets from reaching the application.
ForwardAllExceptPause = 1
The MAC forwards all control packets except Pause packets to the application even if they fail the Address filter.
ForwardAll = 2
The MAC forwards all control packets to the application even if they fail the Address filter.
ForwardAllFiltered = 3
The MAC forwards the control packets that pass the Address filter.
Implementations§
Trait Implementations§
impl Copy for Pcf
impl Eq for Pcf
§impl Ord for Pcf
impl Ord for Pcf
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Pcf
impl PartialOrd for Pcf
impl StructuralPartialEq for Pcf
Auto Trait Implementations§
impl Freeze for Pcf
impl RefUnwindSafe for Pcf
impl Send for Pcf
impl Sync for Pcf
impl Unpin for Pcf
impl UnsafeUnpin 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