Enum etherparse::LinkSlice [−][src]
pub enum LinkSlice<'a> {
Ethernet2(Ethernet2HeaderSlice<'a>),
}
Expand description
A slice containing the link layer header (currently only Ethernet II is supported).
Variants
Ethernet2(Ethernet2HeaderSlice<'a>)
Tuple Fields
0: Ethernet2HeaderSlice<'a>
A slice containing an Ethernet II header.
Implementations
Convert the link slice to a header (currently just the ethernet2 header as this is the only value it can take).
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for LinkSlice<'a>
impl<'a> UnwindSafe for LinkSlice<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more