Enum etherparse::Ipv6ExtensionSlice
source · pub enum Ipv6ExtensionSlice<'a> {
HopByHop(Ipv6RawExtensionHeaderSlice<'a>),
Routing(Ipv6RawExtensionHeaderSlice<'a>),
Fragment(Ipv6FragmentHeaderSlice<'a>),
DestinationOptions(Ipv6RawExtensionHeaderSlice<'a>),
Authentication(IpAuthenticationHeaderSlice<'a>),
}
Expand description
Enum containing a slice of a supported ipv6 extension header.
This enum is used as item type when iterating over a list of extension headers with an Ipv6ExtensionSliceIter.
Note the following extension headers are missing from this enum and currently not supported (list taken on 2021-07-17 from https://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml):
Variants§
HopByHop(Ipv6RawExtensionHeaderSlice<'a>)
IPv6 Hop-by-Hop Option [RFC8200]
Routing(Ipv6RawExtensionHeaderSlice<'a>)
Fragment(Ipv6FragmentHeaderSlice<'a>)
Fragment Header for IPv6 [RFC8200]
DestinationOptions(Ipv6RawExtensionHeaderSlice<'a>)
Destination Options for IPv6 [RFC8200]
Authentication(IpAuthenticationHeaderSlice<'a>)
Authentication Header [RFC4302]
Trait Implementations§
source§impl<'a> Clone for Ipv6ExtensionSlice<'a>
impl<'a> Clone for Ipv6ExtensionSlice<'a>
source§fn clone(&self) -> Ipv6ExtensionSlice<'a>
fn clone(&self) -> Ipv6ExtensionSlice<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more