[][src]Enum smoltcp::wire::Icmpv6Message

pub enum Icmpv6Message {
    DstUnreachable,
    PktTooBig,
    TimeExceeded,
    ParamProblem,
    EchoRequest,
    EchoReply,
    MldQuery,
    RouterSolicit,
    RouterAdvert,
    NeighborSolicit,
    NeighborAdvert,
    Redirect,
    MldReport,
    Unknown(u8),
}

Internet protocol control message type.

Variants

DstUnreachable

Destination Unreachable.

PktTooBig

Packet Too Big.

TimeExceeded

Time Exceeded.

ParamProblem

Parameter Problem.

EchoRequest

Echo Request

EchoReply

Echo Reply

MldQuery

Multicast Listener Query

RouterSolicit

Router Solicitation

RouterAdvert

Router Advertisement

NeighborSolicit

Neighbor Solicitation

NeighborAdvert

Neighbor Advertisement

Redirect

Redirect

MldReport

Multicast Listener Report

Unknown(u8)

Methods

impl Message[src]

pub fn is_error(&self) -> bool[src]

Per RFC 4443 § 2.1 ICMPv6 message types with the highest order bit set are informational messages while message types without the highest order bit set are error messages.

pub fn is_ndisc(&self) -> bool[src]

Return a boolean value indicating if the given message type is an NDISC message type.

pub fn is_mld(&self) -> bool[src]

Return a boolean value indicating if the given message type is an MLD message type.

Trait Implementations

impl Clone for Message[src]

impl Copy for Message[src]

impl Debug for Message[src]

impl Display for Message[src]

impl Eq for Message[src]

impl From<Message> for u8[src]

impl From<u8> for Message[src]

impl Ord for Message[src]

impl PartialEq<Message> for Message[src]

impl PartialOrd<Message> for Message[src]

impl StructuralEq for Message[src]

impl StructuralPartialEq for Message[src]

Auto Trait Implementations

impl RefUnwindSafe for Message

impl Send for Message

impl Sync for Message

impl Unpin for Message

impl UnwindSafe for Message

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.