Struct etherparse::DoubleVlanHeader [] [src]

pub struct DoubleVlanHeader {
    pub outer: SingleVlanHeader,
    pub inner: SingleVlanHeader,
}

IEEE 802.1Q double VLAN Tagging Header

Fields

The outer vlan tagging header

The inner vlan tagging header

Methods

impl DoubleVlanHeader
[src]

[src]

Read a double tagging header from the given source

[src]

Write the double IEEE 802.1Q VLAN tagging header

Trait Implementations

impl Clone for DoubleVlanHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DoubleVlanHeader
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for DoubleVlanHeader
[src]

impl PartialEq for DoubleVlanHeader
[src]

[src]

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

[src]

This method tests for !=.

impl SerializedSize for DoubleVlanHeader
[src]

SERIALIZED_SIZE: usize = 8

Serialized size of the header in bytes.

Auto Trait Implementations