Enum etherparse::InternetSlice[][src]

pub enum InternetSlice<'a> {
    Ipv4(Ipv4HeaderSlice<'a>),
    Ipv6(Ipv6HeaderSlice<'a>, [Option<(u8, Ipv6ExtensionHeaderSlice<'a>)>; 7]),
}

Variants

First element is the Ipv6 header slice and second one are the Ipv6 extensions headers filled in order from 0 to the length of the array.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

impl<'a> PartialEq for InternetSlice<'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 InternetSlice<'a>

impl<'a> Sync for InternetSlice<'a>