Enum etherparse::InternetSlice
source · 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.
Implementations§
source§impl<'a> InternetSlice<'a>
impl<'a> InternetSlice<'a>
sourcepub fn is_fragmenting_payload(&self) -> bool
pub fn is_fragmenting_payload(&self) -> bool
Returns true if the payload is fragmented.
Trait Implementations§
source§impl<'a> Clone for InternetSlice<'a>
impl<'a> Clone for InternetSlice<'a>
source§fn clone(&self) -> InternetSlice<'a>
fn clone(&self) -> InternetSlice<'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