Struct Icmpv4DstUnreachable
pub struct Icmpv4DstUnreachable(pub u8);Expand description
Internet protocol control message subtype for type “Destination Unreachable”.
Tuple Fields§
§0: u8Implementations§
§impl DstUnreachable
impl DstUnreachable
pub const NetUnreachable: DstUnreachable
pub const NetUnreachable: DstUnreachable
Destination network unreachable
pub const HostUnreachable: DstUnreachable
pub const HostUnreachable: DstUnreachable
Destination host unreachable
pub const ProtoUnreachable: DstUnreachable
pub const ProtoUnreachable: DstUnreachable
Destination protocol unreachable
pub const PortUnreachable: DstUnreachable
pub const PortUnreachable: DstUnreachable
Destination port unreachable
pub const FragRequired: DstUnreachable
pub const FragRequired: DstUnreachable
Fragmentation required, and DF flag set
pub const SrcRouteFailed: DstUnreachable
pub const SrcRouteFailed: DstUnreachable
Source route failed
pub const DstNetUnknown: DstUnreachable
pub const DstNetUnknown: DstUnreachable
Destination network unknown
pub const DstHostUnknown: DstUnreachable
pub const DstHostUnknown: DstUnreachable
Destination host unknown
pub const SrcHostIsolated: DstUnreachable
pub const SrcHostIsolated: DstUnreachable
Source host isolated
pub const NetProhibited: DstUnreachable
pub const NetProhibited: DstUnreachable
Network administratively prohibited
pub const HostProhibited: DstUnreachable
pub const HostProhibited: DstUnreachable
Host administratively prohibited
pub const NetUnreachToS: DstUnreachable
pub const NetUnreachToS: DstUnreachable
Network unreachable for ToS
pub const HostUnreachToS: DstUnreachable
pub const HostUnreachToS: DstUnreachable
Host unreachable for ToS
pub const CommProhibited: DstUnreachable
pub const CommProhibited: DstUnreachable
Communication administratively prohibited
pub const HostPrecedViol: DstUnreachable
pub const HostPrecedViol: DstUnreachable
Host precedence violation
pub const PrecedCutoff: DstUnreachable
pub const PrecedCutoff: DstUnreachable
Precedence cutoff in effect
Trait Implementations§
§impl Clone for DstUnreachable
impl Clone for DstUnreachable
§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
§impl Debug for DstUnreachable
impl Debug for DstUnreachable
§impl Display for DstUnreachable
impl Display for DstUnreachable
impl Eq for DstUnreachable
§impl Format for DstUnreachable
Available on crate feature defmt only.
impl Format for DstUnreachable
Available on crate feature
defmt only.§impl From<u8> for DstUnreachable
impl From<u8> for DstUnreachable
§fn from(value: u8) -> DstUnreachable
fn from(value: u8) -> DstUnreachable
Converts to this type from the input type.
§impl Hash for DstUnreachable
impl Hash for DstUnreachable
§impl Ord for DstUnreachable
impl Ord for DstUnreachable
§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
§impl PartialEq for DstUnreachable
impl PartialEq for DstUnreachable
§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