pub struct Icmpv4DstUnreachable(pub u8);Expand description
Internet protocol control message subtype for type “Destination Unreachable”.
Tuple Fields§
§0: u8Implementations§
Source§impl DstUnreachable
impl DstUnreachable
Sourcepub const NetUnreachable: Self
pub const NetUnreachable: Self
Destination network unreachable
Sourcepub const HostUnreachable: Self
pub const HostUnreachable: Self
Destination host unreachable
Sourcepub const ProtoUnreachable: Self
pub const ProtoUnreachable: Self
Destination protocol unreachable
Sourcepub const PortUnreachable: Self
pub const PortUnreachable: Self
Destination port unreachable
Sourcepub const FragRequired: Self
pub const FragRequired: Self
Fragmentation required, and DF flag set
Sourcepub const SrcRouteFailed: Self
pub const SrcRouteFailed: Self
Source route failed
Sourcepub const DstNetUnknown: Self
pub const DstNetUnknown: Self
Destination network unknown
Sourcepub const DstHostUnknown: Self
pub const DstHostUnknown: Self
Destination host unknown
Sourcepub const SrcHostIsolated: Self
pub const SrcHostIsolated: Self
Source host isolated
Sourcepub const NetProhibited: Self
pub const NetProhibited: Self
Network administratively prohibited
Sourcepub const HostProhibited: Self
pub const HostProhibited: Self
Host administratively prohibited
Sourcepub const NetUnreachToS: Self
pub const NetUnreachToS: Self
Network unreachable for ToS
Sourcepub const HostUnreachToS: Self
pub const HostUnreachToS: Self
Host unreachable for ToS
Sourcepub const CommProhibited: Self
pub const CommProhibited: Self
Communication administratively prohibited
Sourcepub const HostPrecedViol: Self
pub const HostPrecedViol: Self
Host precedence violation
Sourcepub const PrecedCutoff: Self
pub const PrecedCutoff: Self
Precedence cutoff in effect
Trait Implementations§
Source§impl Clone for DstUnreachable
impl Clone for DstUnreachable
Source§fn clone(&self) -> DstUnreachable
fn clone(&self) -> DstUnreachable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DstUnreachable
Source§impl Debug for DstUnreachable
impl Debug for DstUnreachable
Source§impl Display for DstUnreachable
impl Display for DstUnreachable
impl Eq 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§fn cmp(&self, other: &DstUnreachable) -> Ordering
fn cmp(&self, other: &DstUnreachable) -> Ordering
1.21.0 (const: unstable) · 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 for DstUnreachable
impl PartialEq for DstUnreachable
Source§impl PartialOrd for DstUnreachable
impl PartialOrd 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 UnsafeUnpin for DstUnreachable
impl UnwindSafe for DstUnreachable
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