Enum smoltcp::wire::Icmpv6Message
source · pub enum Icmpv6Message {
Show 14 variants
DstUnreachable,
PktTooBig,
TimeExceeded,
ParamProblem,
EchoRequest,
EchoReply,
MldQuery,
RouterSolicit,
RouterAdvert,
NeighborSolicit,
NeighborAdvert,
Redirect,
MldReport,
Unknown(u8),
}
Expand description
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)
Implementations§
source§impl Message
impl Message
sourcepub fn is_error(&self) -> bool
pub fn is_error(&self) -> bool
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.
Trait Implementations§
source§impl Ord for Message
impl Ord for Message
source§impl PartialOrd<Message> for Message
impl PartialOrd<Message> for Message
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more