Enum smoltcp::wire::Icmpv4TimeExceeded
source · pub enum Icmpv4TimeExceeded {
TtlExpired,
FragExpired,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Time Exceeded”.
Variants§
Trait Implementations§
source§impl Clone for TimeExceeded
impl Clone for TimeExceeded
source§fn clone(&self) -> TimeExceeded
fn clone(&self) -> TimeExceeded
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeExceeded
impl Debug for TimeExceeded
source§impl Display for TimeExceeded
impl Display for TimeExceeded
source§impl From<TimeExceeded> for u8
impl From<TimeExceeded> for u8
source§fn from(value: TimeExceeded) -> Self
fn from(value: TimeExceeded) -> Self
Converts to this type from the input type.
source§impl From<u8> for TimeExceeded
impl From<u8> for TimeExceeded
source§impl Ord for TimeExceeded
impl Ord for TimeExceeded
source§fn cmp(&self, other: &TimeExceeded) -> Ordering
fn cmp(&self, other: &TimeExceeded) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TimeExceeded> for TimeExceeded
impl PartialEq<TimeExceeded> for TimeExceeded
source§fn eq(&self, other: &TimeExceeded) -> bool
fn eq(&self, other: &TimeExceeded) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TimeExceeded> for TimeExceeded
impl PartialOrd<TimeExceeded> for TimeExceeded
source§fn partial_cmp(&self, other: &TimeExceeded) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeExceeded) -> Option<Ordering>
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