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