#[repr(u8)]pub enum Icmpv6Type {
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 types. https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml
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§
Trait Implementations§
Source§impl Clone for Icmpv6Type
impl Clone for Icmpv6Type
Source§fn clone(&self) -> Icmpv6Type
fn clone(&self) -> Icmpv6Type
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 Icmpv6Type
impl Debug for Icmpv6Type
Source§impl Hash for Icmpv6Type
impl Hash for Icmpv6Type
Source§impl Ord for Icmpv6Type
impl Ord for Icmpv6Type
Source§fn cmp(&self, other: &Icmpv6Type) -> Ordering
fn cmp(&self, other: &Icmpv6Type) -> 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 for Icmpv6Type
impl PartialEq for Icmpv6Type
Source§impl PartialOrd for Icmpv6Type
impl PartialOrd for Icmpv6Type
Source§impl PrimitiveValues for Icmpv6Type
impl PrimitiveValues for Icmpv6Type
impl Copy for Icmpv6Type
impl Eq for Icmpv6Type
impl StructuralPartialEq for Icmpv6Type
Auto Trait Implementations§
impl Freeze for Icmpv6Type
impl RefUnwindSafe for Icmpv6Type
impl Send for Icmpv6Type
impl Sync for Icmpv6Type
impl Unpin for Icmpv6Type
impl UnwindSafe for Icmpv6Type
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