Enum packet_formats::icmp::Icmpv6MessageType
source · pub enum Icmpv6MessageType {
Show 15 variants
DestUnreachable,
PacketTooBig,
TimeExceeded,
ParameterProblem,
EchoRequest,
EchoReply,
RouterSolicitation,
RouterAdvertisement,
NeighborSolicitation,
NeighborAdvertisement,
Redirect,
MulticastListenerQuery,
MulticastListenerReport,
MulticastListenerDone,
MulticastListenerReportV2,
}
Variants§
DestUnreachable
PacketTooBig
TimeExceeded
ParameterProblem
EchoRequest
EchoReply
RouterSolicitation
RouterAdvertisement
NeighborSolicitation
NeighborAdvertisement
Redirect
MulticastListenerQuery
MulticastListenerReport
MulticastListenerDone
MulticastListenerReportV2
Trait Implementations§
source§impl Clone for Icmpv6MessageType
impl Clone for Icmpv6MessageType
source§fn clone(&self) -> Icmpv6MessageType
fn clone(&self) -> Icmpv6MessageType
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 Icmpv6MessageType
impl Debug for Icmpv6MessageType
source§impl Display for Icmpv6MessageType
impl Display for Icmpv6MessageType
source§impl From<Icmpv6MessageType> for u8
impl From<Icmpv6MessageType> for u8
source§fn from(name: Icmpv6MessageType) -> u8
fn from(name: Icmpv6MessageType) -> u8
Converts to this type from the input type.
source§impl IcmpMessageType for Icmpv6MessageType
impl IcmpMessageType for Icmpv6MessageType
source§impl PartialEq for Icmpv6MessageType
impl PartialEq for Icmpv6MessageType
source§fn eq(&self, other: &Icmpv6MessageType) -> bool
fn eq(&self, other: &Icmpv6MessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for Icmpv6MessageType
impl TryFrom<u8> for Icmpv6MessageType
impl Copy for Icmpv6MessageType
impl Eq for Icmpv6MessageType
impl StructuralPartialEq for Icmpv6MessageType
Auto Trait Implementations§
impl Freeze for Icmpv6MessageType
impl RefUnwindSafe for Icmpv6MessageType
impl Send for Icmpv6MessageType
impl Sync for Icmpv6MessageType
impl Unpin for Icmpv6MessageType
impl UnwindSafe for Icmpv6MessageType
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