Enum peel_ip::layer2::icmpv6::Icmpv6Type [] [src]

pub enum Icmpv6Type {
    EchoReply,
    EchoRequest,
}

Available ICMPv6 control messages

Variants

Echo reply used to ping

Echo request used to ping

Methods

impl Icmpv6Type
[src]

Convert a u8 to an Icmpv6Type. Returns None if the type is not supported or generally invalid.

Trait Implementations

impl Debug for Icmpv6Type
[src]

Formats the value using the given formatter.

impl Eq for Icmpv6Type
[src]

impl PartialEq for Icmpv6Type
[src]

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

This method tests for !=.