Enum etherparse::VlanHeader [−][src]
pub enum VlanHeader { Single(SingleVlanHeader), Double(DoubleVlanHeader), }
IEEE 802.1Q VLAN Tagging Header (can be single or double tagged).
Variants
Single(SingleVlanHeader)
IEEE 802.1Q VLAN Tagging Header
Double(DoubleVlanHeader)
IEEE 802.1Q double VLAN Tagging Header
Trait Implementations
impl Clone for VlanHeader
[src]
impl Clone for VlanHeader
fn clone(&self) -> VlanHeader
[src]
fn clone(&self) -> VlanHeader
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 Debug for VlanHeader
[src]
impl Debug for VlanHeader
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 Eq for VlanHeader
[src]
impl Eq for VlanHeader
impl PartialEq for VlanHeader
[src]
impl PartialEq for VlanHeader
fn eq(&self, other: &VlanHeader) -> bool
[src]
fn eq(&self, other: &VlanHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VlanHeader) -> bool
[src]
fn ne(&self, other: &VlanHeader) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for VlanHeader
impl Send for VlanHeader
impl Sync for VlanHeader
impl Sync for VlanHeader