pub enum VLANTCR {
VLANTC16,
VLANTC12,
}
Expand description
Possible values of the field VLANTC
Variants§
VLANTC16
Full 16 bit VLAN identifiers are used for comparison and filtering
VLANTC12
12 bit VLAN identifies are used for comparison and filtering
Implementations§
Source§impl VLANTCR
impl VLANTCR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_vlantc16(&self) -> bool
pub fn is_vlantc16(&self) -> bool
Checks if the value of the field is VLANTC16
Sourcepub fn is_vlantc12(&self) -> bool
pub fn is_vlantc12(&self) -> bool
Checks if the value of the field is VLANTC12
Trait Implementations§
impl Copy for VLANTCR
impl StructuralPartialEq for VLANTCR
Auto Trait Implementations§
impl Freeze for VLANTCR
impl RefUnwindSafe for VLANTCR
impl Send for VLANTCR
impl Sync for VLANTCR
impl Unpin for VLANTCR
impl UnwindSafe for VLANTCR
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