[−][src]Enum smoltcp::wire::Icmpv6Message
Internet protocol control message type.
Variants
Destination Unreachable.
Packet Too Big.
Time Exceeded.
Parameter Problem.
Echo Request
Echo Reply
Multicast Listener Query
Router Solicitation
Router Advertisement
Neighbor Solicitation
Neighbor Advertisement
Redirect
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]
fn cmp(&self, other: &Message) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Message> for Message
[src]
impl PartialOrd<Message> for Message
[src]
fn partial_cmp(&self, other: &Message) -> Option<Ordering>
[src]
fn lt(&self, other: &Message) -> bool
[src]
fn le(&self, other: &Message) -> bool
[src]
fn gt(&self, other: &Message) -> bool
[src]
fn ge(&self, other: &Message) -> bool
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,