pub enum Icmpv6Message {
    Unreachable {
        _unused: u32,
        invoking_packet: Vec<u8>,
    },
    PacketTooBig {
        mtu: u32,
        invoking_packet: Vec<u8>,
    },
    TimeExceeded {
        _unused: u32,
        invoking_packet: Vec<u8>,
    },
    ParameterProblem {
        pointer: u32,
        invoking_packet: Vec<u8>,
    },
    PrivateExperimental {
        padding: u32,
        payload: Vec<u8>,
    },
    EchoRequest {
        identifier: u16,
        sequence: u16,
        payload: Vec<u8>,
    },
    EchoReply {
        identifier: u16,
        sequence: u16,
        payload: Vec<u8>,
    },
}
Expand description

The possible Icmpv6 Message types.

Variants

Unreachable

Fields

_unused: u32
invoking_packet: Vec<u8>

PacketTooBig

Fields

mtu: u32
invoking_packet: Vec<u8>

TimeExceeded

Fields

_unused: u32
invoking_packet: Vec<u8>

ParameterProblem

Fields

pointer: u32
invoking_packet: Vec<u8>

PrivateExperimental

Fields

padding: u32
payload: Vec<u8>

EchoRequest

Fields

identifier: u16
sequence: u16
payload: Vec<u8>

EchoReply

Fields

identifier: u16
sequence: u16
payload: Vec<u8>

Implementations

Get this Icmpv6Message serialized to bytes.

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.