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§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 Hash for DstUnreachable
impl Hash for DstUnreachable
Source§impl Ord for DstUnreachable
impl Ord for DstUnreachable
Source§impl PartialEq for DstUnreachable
impl PartialEq for DstUnreachable
Source§impl PartialOrd for DstUnreachable
impl PartialOrd for DstUnreachable
Source§fn partial_cmp(&self, other: &DstUnreachable) -> Option<Ordering>
fn partial_cmp(&self, other: &DstUnreachable) -> Option<Ordering>
impl Copy for DstUnreachable
impl Eq for DstUnreachable
impl StructuralPartialEq for DstUnreachable
Auto Trait Implementations§
impl Freeze for DstUnreachable
impl RefUnwindSafe for DstUnreachable
impl Send for DstUnreachable
impl Sync for DstUnreachable
impl Unpin for DstUnreachable
impl UnwindSafe for DstUnreachable
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)