Enum etherparse::VlanFilter [−][src]
pub enum VlanFilter { Single(Option<u16>), Double { outer_identifier: Option<u16>, inner_identifier: Option<u16>, }, }
Variants
Single(Option<u16>)
Double
Fields of Double
outer_identifier: Option<u16> | |
inner_identifier: Option<u16> |
Methods
impl VlanFilter
[src]
impl VlanFilter
pub fn applies_to_slice(&self, slice: &VlanSlice) -> bool
[src]
pub fn applies_to_slice(&self, slice: &VlanSlice) -> bool
Trait Implementations
impl Debug for VlanFilter
[src]
impl Debug for VlanFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for VlanFilter
[src]
impl Clone for VlanFilter
fn clone(&self) -> VlanFilter
[src]
fn clone(&self) -> VlanFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for VlanFilter
[src]
impl Eq for VlanFilter
impl PartialEq for VlanFilter
[src]
impl PartialEq for VlanFilter
fn eq(&self, other: &VlanFilter) -> bool
[src]
fn eq(&self, other: &VlanFilter) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VlanFilter) -> bool
[src]
fn ne(&self, other: &VlanFilter) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for VlanFilter
impl Send for VlanFilter
impl Sync for VlanFilter
impl Sync for VlanFilter