Enum net::wire::Icmpv6DstUnreachable
pub enum Icmpv6DstUnreachable {
NoRoute,
AdminProhibit,
BeyondScope,
AddrUnreachable,
PortUnreachable,
FailedPolicy,
RejectRoute,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Destination Unreachable”.
Variants§
NoRoute
No Route to destination.
AdminProhibit
Communication with destination administratively prohibited.
BeyondScope
Beyond scope of source address.
AddrUnreachable
Address unreachable.
PortUnreachable
Port unreachable.
FailedPolicy
Source address failed ingress/egress policy.
RejectRoute
Reject route to destination.
Unknown(u8)
Trait Implementations§
§impl Clone for DstUnreachable
impl Clone for DstUnreachable
§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 more§impl Debug for DstUnreachable
impl Debug for DstUnreachable
§impl Display for DstUnreachable
impl Display for DstUnreachable
§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
§impl PartialEq<DstUnreachable> for DstUnreachable
impl PartialEq<DstUnreachable> for DstUnreachable
§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 ==
.§impl PartialOrd<DstUnreachable> for DstUnreachable
impl PartialOrd<DstUnreachable> for DstUnreachable
§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 moreimpl 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§
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