Enum etherparse::EtherType [] [src]

pub enum EtherType {
    Ipv4,
    Ipv6,
    Arp,
    WakeOnLan,
    VlanTaggedFrame,
    VlanDoubleTaggedFrame,
}

Ether type enum present in ethernet II header.

Variants

Methods

impl EtherType
[src]

[src]

Tries to convert a raw ether type value to the enum. Returns None if the value does not exist in the enum.

Trait Implementations

impl Debug for EtherType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for EtherType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.