Enum cross_socket::packet::icmpv6::Icmpv6Code
source · pub enum Icmpv6Code {
Show 39 variants
DestinationUnreachable,
PacketTooBig,
TimeExceeded,
ParameterProblem,
EchoRequest,
EchoReply,
MulticastListenerQuery,
MulticastListenerReport,
MulticastListenerDone,
RouterSolicitation,
RouterAdvertisement,
NeighborSolicitation,
NeighborAdvertisement,
RedirectMessage,
RouterRenumbering,
NodeInformationQuery,
NodeInformationResponse,
InverseNeighborDiscoverySolicitation,
InverseNeighborDiscoveryAdvertisement,
Version2MulticastListenerReport,
HomeAgentAddressDiscoveryRequest,
HomeAgentAddressDiscoveryReply,
MobilePrefixSolicitation,
MobilePrefixAdvertisement,
CertificationPathSolicitationMessage,
CertificationPathAdvertisementMessage,
ExperimentalMobilityProtocols,
MulticastRouterAdvertisement,
MulticastRouterSolicitation,
MulticastRouterTermination,
FMIPv6Messages,
RPLControlMessage,
ILNPv6LocatorUpdateMessage,
DuplicateAddressRequest,
DuplicateAddressConfirmation,
MPLControlMessage,
ExtendedEchoRequest,
ExtendedEchoReply,
Unknown(u8),
}
Expand description
Represents the ICMPv6 code header field.
Variants§
DestinationUnreachable
PacketTooBig
TimeExceeded
ParameterProblem
EchoRequest
EchoReply
MulticastListenerQuery
MulticastListenerReport
MulticastListenerDone
RouterSolicitation
RouterAdvertisement
NeighborSolicitation
NeighborAdvertisement
RedirectMessage
RouterRenumbering
NodeInformationQuery
NodeInformationResponse
InverseNeighborDiscoverySolicitation
InverseNeighborDiscoveryAdvertisement
Version2MulticastListenerReport
HomeAgentAddressDiscoveryRequest
HomeAgentAddressDiscoveryReply
MobilePrefixSolicitation
MobilePrefixAdvertisement
CertificationPathSolicitationMessage
CertificationPathAdvertisementMessage
ExperimentalMobilityProtocols
MulticastRouterAdvertisement
MulticastRouterSolicitation
MulticastRouterTermination
FMIPv6Messages
RPLControlMessage
ILNPv6LocatorUpdateMessage
DuplicateAddressRequest
DuplicateAddressConfirmation
MPLControlMessage
ExtendedEchoRequest
ExtendedEchoReply
Unknown(u8)
Implementations§
source§impl Icmpv6Code
impl Icmpv6Code
Trait Implementations§
source§impl Clone for Icmpv6Code
impl Clone for Icmpv6Code
source§fn clone(&self) -> Icmpv6Code
fn clone(&self) -> Icmpv6Code
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 moresource§impl Debug for Icmpv6Code
impl Debug for Icmpv6Code
source§impl Hash for Icmpv6Code
impl Hash for Icmpv6Code
source§impl Ord for Icmpv6Code
impl Ord for Icmpv6Code
source§fn cmp(&self, other: &Icmpv6Code) -> Ordering
fn cmp(&self, other: &Icmpv6Code) -> Ordering
1.21.0 · 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<Icmpv6Code> for Icmpv6Code
impl PartialEq<Icmpv6Code> for Icmpv6Code
source§fn eq(&self, other: &Icmpv6Code) -> bool
fn eq(&self, other: &Icmpv6Code) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Icmpv6Code> for Icmpv6Code
impl PartialOrd<Icmpv6Code> for Icmpv6Code
source§fn partial_cmp(&self, other: &Icmpv6Code) -> Option<Ordering>
fn partial_cmp(&self, other: &Icmpv6Code) -> 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 Icmpv6Code
impl Eq for Icmpv6Code
impl StructuralEq for Icmpv6Code
impl StructuralPartialEq for Icmpv6Code
Auto Trait Implementations§
impl RefUnwindSafe for Icmpv6Code
impl Send for Icmpv6Code
impl Sync for Icmpv6Code
impl Unpin for Icmpv6Code
impl UnwindSafe for Icmpv6Code
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