Enum etherparse::VlanSlice[][src]

pub enum VlanSlice<'a> {
    SingleVlan(PacketSlice<'a, SingleVlanHeader>),
    DoubleVlan(PacketSlice<'a, DoubleVlanHeader>),
}

Variants

Methods

impl<'a> VlanSlice<'a>
[src]

Decode all the fields and copy the results to a VlanHeader struct

Trait Implementations

impl<'a> Clone for VlanSlice<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for VlanSlice<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Eq for VlanSlice<'a>
[src]

impl<'a> PartialEq for VlanSlice<'a>
[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<'a> Send for VlanSlice<'a>

impl<'a> Sync for VlanSlice<'a>