Enum etherparse::vlan_tagging::VlanHeader [−][src]
pub enum VlanHeader {
Single(SingleVlanHeader),
Double(DoubleVlanHeader),
}
Expand description
IEEE 802.1Q VLAN Tagging Header (can be single or double tagged).
Variants
Single(SingleVlanHeader)
Tuple Fields
IEEE 802.1Q VLAN Tagging Header
Double(DoubleVlanHeader)
Tuple Fields
IEEE 802.1Q double VLAN Tagging Header
Implementations
All ether types that identify a vlan header.
Write the IEEE 802.1Q VLAN single or double tagging header
Length of the serialized header(s) in bytes.
Trait Implementations
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 RefUnwindSafe for VlanHeader
impl Send for VlanHeader
impl Sync for VlanHeader
impl Unpin for VlanHeader
impl UnwindSafe for VlanHeader
Blanket Implementations
Mutably borrows from an owned value. Read more