Enum etherparse::IpHeader[][src]

pub enum IpHeader {
    Version4(Ipv4Header),
    Version6(Ipv6Header),
}

Internet protocol headers version 4 & 6

Variants

Methods

impl IpHeader
[src]

Reads an IP (v4 or v6) header from the current position.

Writes an IP (v4 or v6) header to the current position

Trait Implementations

impl Clone for IpHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IpHeader
[src]

Formats the value using the given formatter. Read more

impl Eq for IpHeader
[src]

impl PartialEq for IpHeader
[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 Send for IpHeader

impl Sync for IpHeader