Enum net::wire::Icmpv4TimeExceeded
pub enum Icmpv4TimeExceeded {
TtlExpired,
FragExpired,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Time Exceeded”.
Variants§
Trait Implementations§
§impl Clone for TimeExceeded
impl Clone for TimeExceeded
§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 more§impl Debug for TimeExceeded
impl Debug for TimeExceeded
§impl Display for TimeExceeded
impl Display for TimeExceeded
§impl From<u8> for TimeExceeded
impl From<u8> for TimeExceeded
§fn from(value: u8) -> TimeExceeded
fn from(value: u8) -> TimeExceeded
Converts to this type from the input type.
§impl Hash for TimeExceeded
impl Hash for TimeExceeded
§impl Ord for TimeExceeded
impl Ord for TimeExceeded
§impl PartialEq<TimeExceeded> for TimeExceeded
impl PartialEq<TimeExceeded> for TimeExceeded
§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 ==
.§impl PartialOrd<TimeExceeded> for TimeExceeded
impl PartialOrd<TimeExceeded> for TimeExceeded
§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 moreimpl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more