Enum smoltcp::wire::Icmpv4DstUnreachable
source · pub enum Icmpv4DstUnreachable {
Show 17 variants
NetUnreachable,
HostUnreachable,
ProtoUnreachable,
PortUnreachable,
FragRequired,
SrcRouteFailed,
DstNetUnknown,
DstHostUnknown,
SrcHostIsolated,
NetProhibited,
HostProhibited,
NetUnreachToS,
HostUnreachToS,
CommProhibited,
HostPrecedViol,
PrecedCutoff,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Destination Unreachable”.
Variants§
NetUnreachable
Destination network unreachable
HostUnreachable
Destination host unreachable
ProtoUnreachable
Destination protocol unreachable
PortUnreachable
Destination port unreachable
FragRequired
Fragmentation required, and DF flag set
SrcRouteFailed
Source route failed
DstNetUnknown
Destination network unknown
DstHostUnknown
Destination host unknown
SrcHostIsolated
Source host isolated
NetProhibited
Network administratively prohibited
HostProhibited
Host administratively prohibited
NetUnreachToS
Network unreachable for ToS
HostUnreachToS
Host unreachable for ToS
CommProhibited
Communication administratively prohibited
HostPrecedViol
Host precedence violation
PrecedCutoff
Precedence cutoff in effect
Unknown(u8)
Trait Implementations§
source§impl Clone for DstUnreachable
impl Clone for DstUnreachable
source§fn clone(&self) -> DstUnreachable
fn clone(&self) -> DstUnreachable
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 DstUnreachable
impl Debug for DstUnreachable
source§impl Display for DstUnreachable
impl Display for DstUnreachable
source§impl From<DstUnreachable> for u8
impl From<DstUnreachable> for u8
source§fn from(value: DstUnreachable) -> Self
fn from(value: DstUnreachable) -> Self
Converts to this type from the input type.
source§impl From<u8> for DstUnreachable
impl From<u8> for DstUnreachable
source§impl Ord for DstUnreachable
impl Ord for DstUnreachable
source§fn cmp(&self, other: &DstUnreachable) -> Ordering
fn cmp(&self, other: &DstUnreachable) -> 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<DstUnreachable> for DstUnreachable
impl PartialEq<DstUnreachable> for DstUnreachable
source§fn eq(&self, other: &DstUnreachable) -> bool
fn eq(&self, other: &DstUnreachable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DstUnreachable> for DstUnreachable
impl PartialOrd<DstUnreachable> for DstUnreachable
source§fn partial_cmp(&self, other: &DstUnreachable) -> Option<Ordering>
fn partial_cmp(&self, other: &DstUnreachable) -> 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