Enum smoltcp::wire::Icmpv4TimeExceeded
source · [−]pub enum Icmpv4TimeExceeded {
TtlExpired,
FragExpired,
Unknown(u8),
}Expand description
Internet protocol control message subtype for type “Time Exceeded”.
Variants
TtlExpired
TTL expired in transit
FragExpired
Fragment reassembly time exceeded
Unknown(u8)
Trait Implementations
sourceimpl Clone for TimeExceeded
impl Clone for TimeExceeded
sourcefn clone(&self) -> TimeExceeded
fn clone(&self) -> TimeExceeded
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TimeExceeded
impl Debug for TimeExceeded
sourceimpl From<TimeExceeded> for u8
impl From<TimeExceeded> for u8
sourcefn from(value: TimeExceeded) -> Self
fn from(value: TimeExceeded) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for TimeExceeded
impl From<u8> for TimeExceeded
sourceimpl Ord for TimeExceeded
impl Ord for TimeExceeded
sourcefn cmp(&self, other: &TimeExceeded) -> Ordering
fn cmp(&self, other: &TimeExceeded) -> Ordering
This method returns an [Ordering] between self and other. Read more
sourceimpl PartialEq<TimeExceeded> for TimeExceeded
impl PartialEq<TimeExceeded> for TimeExceeded
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &TimeExceeded) -> bool
fn ne(&self, other: &TimeExceeded) -> bool
This method tests for !=.
sourceimpl PartialOrd<TimeExceeded> for TimeExceeded
impl PartialOrd<TimeExceeded> for TimeExceeded
sourcefn partial_cmp(&self, other: &TimeExceeded) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeExceeded) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0fn 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
impl Copy for TimeExceeded
impl Eq for TimeExceeded
impl StructuralEq for TimeExceeded
impl StructuralPartialEq for TimeExceeded
Auto Trait Implementations
impl RefUnwindSafe for TimeExceeded
impl Send for TimeExceeded
impl Sync for TimeExceeded
impl Unpin for TimeExceeded
impl UnwindSafe for TimeExceeded
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more