Struct etherparse::DoubleVlanHeaderSlice [−][src]
pub struct DoubleVlanHeaderSlice<'a> { /* fields omitted */ }
Expand description
A slice containing an double vlan header of a network package.
Implementations
Creates a double header slice from a slice.
Returns the slice containing the double vlan header
Returns a slice with the outer vlan header
Returns a slice with the inner vlan header.
Decode all the fields and copy the results to a DoubleVlanHeader struct
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<'a> RefUnwindSafe for DoubleVlanHeaderSlice<'a>
impl<'a> Send for DoubleVlanHeaderSlice<'a>
impl<'a> Sync for DoubleVlanHeaderSlice<'a>
impl<'a> Unpin for DoubleVlanHeaderSlice<'a>
impl<'a> UnwindSafe for DoubleVlanHeaderSlice<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more