Enum etherparse::VlanHeader[][src]

pub enum VlanHeader {
    Single(SingleVlanHeader),
    Double(DoubleVlanHeader),
}

IEEE 802.1Q VLAN Tagging Header (can be single or double tagged).

Variants

IEEE 802.1Q VLAN Tagging Header

IEEE 802.1Q double VLAN Tagging Header

Trait Implementations

impl Clone for VlanHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VlanHeader
[src]

Formats the value using the given formatter. Read more

impl Eq for VlanHeader
[src]

impl PartialEq for VlanHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for VlanHeader

impl Sync for VlanHeader