Enum etherparse::InternetSlice [−][src]
pub enum InternetSlice<'a> {
Ipv4(Ipv4HeaderSlice<'a>, Ipv4ExtensionsSlice<'a>),
Ipv6(Ipv6HeaderSlice<'a>, Ipv6ExtensionsSlice<'a>),
}
Variants
Ipv4(Ipv4HeaderSlice<'a>, Ipv4ExtensionsSlice<'a>)
The ipv6 header & the decoded extension headers.
Ipv6(Ipv6HeaderSlice<'a>, Ipv6ExtensionsSlice<'a>)
The ipv6 header & the decoded extension headers.
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 InternetSlice<'a>
impl<'a> Send for InternetSlice<'a>
impl<'a> Sync for InternetSlice<'a>
impl<'a> Unpin for InternetSlice<'a>
impl<'a> UnwindSafe for InternetSlice<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more