Enum smoltcp::wire::Icmpv6DstUnreachable
source · [−]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
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