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
sourceimpl Clone for DstUnreachable
impl Clone for DstUnreachable
sourcefn clone(&self) -> DstUnreachable
fn clone(&self) -> DstUnreachable
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 DstUnreachable
impl Debug for DstUnreachable
sourceimpl Display for DstUnreachable
impl Display for DstUnreachable
sourceimpl From<DstUnreachable> for u8
impl From<DstUnreachable> for u8
sourcefn from(value: DstUnreachable) -> Self
fn from(value: DstUnreachable) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for DstUnreachable
impl From<u8> for DstUnreachable
sourceimpl Ord for DstUnreachable
impl Ord for DstUnreachable
sourcefn cmp(&self, other: &DstUnreachable) -> Ordering
fn cmp(&self, other: &DstUnreachable) -> Ordering
This method returns an [Ordering] between self and other. Read more
sourceimpl PartialEq<DstUnreachable> for DstUnreachable
impl PartialEq<DstUnreachable> for DstUnreachable
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &DstUnreachable) -> bool
fn ne(&self, other: &DstUnreachable) -> bool
This method tests for !=.
sourceimpl PartialOrd<DstUnreachable> for DstUnreachable
impl PartialOrd<DstUnreachable> for DstUnreachable
sourcefn partial_cmp(&self, other: &DstUnreachable) -> Option<Ordering>
fn partial_cmp(&self, other: &DstUnreachable) -> 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 DstUnreachable
impl Eq for DstUnreachable
impl StructuralEq for DstUnreachable
impl StructuralPartialEq for DstUnreachable
Auto Trait Implementations
impl RefUnwindSafe for DstUnreachable
impl Send for DstUnreachable
impl Sync for DstUnreachable
impl Unpin for DstUnreachable
impl UnwindSafe for DstUnreachable
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