Enum xenet_packet::icmp::IcmpType
source · #[repr(u8)]pub enum IcmpType {
Show 27 variants
EchoReply,
DestinationUnreachable,
SourceQuench,
RedirectMessage,
EchoRequest,
RouterAdvertisement,
RouterSolicitation,
TimeExceeded,
ParameterProblem,
TimestampRequest,
TimestampReply,
InformationRequest,
InformationReply,
AddressMaskRequest,
AddressMaskReply,
Traceroute,
DatagramConversionError,
MobileHostRedirect,
IPv6WhereAreYou,
IPv6IAmHere,
MobileRegistrationRequest,
MobileRegistrationReply,
DomainNameRequest,
DomainNameReply,
SKIP,
Photuris,
Unknown(u8),
}
Expand description
Represents the “ICMP type” header field.
Variants§
EchoReply
DestinationUnreachable
SourceQuench
RedirectMessage
EchoRequest
RouterAdvertisement
RouterSolicitation
TimeExceeded
ParameterProblem
TimestampRequest
TimestampReply
InformationRequest
InformationReply
AddressMaskRequest
AddressMaskReply
Traceroute
DatagramConversionError
MobileHostRedirect
IPv6WhereAreYou
IPv6IAmHere
MobileRegistrationRequest
MobileRegistrationReply
DomainNameRequest
DomainNameReply
SKIP
Photuris
Unknown(u8)
Implementations§
Trait Implementations§
source§impl Ord for IcmpType
impl Ord for IcmpType
source§impl PartialEq for IcmpType
impl PartialEq for IcmpType
source§impl PartialOrd for IcmpType
impl PartialOrd for IcmpType
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 moresource§impl PrimitiveValues for IcmpType
impl PrimitiveValues for IcmpType
impl Copy for IcmpType
impl Eq for IcmpType
impl StructuralEq for IcmpType
impl StructuralPartialEq for IcmpType
Auto Trait Implementations§
impl RefUnwindSafe for IcmpType
impl Send for IcmpType
impl Sync for IcmpType
impl Unpin for IcmpType
impl UnwindSafe for IcmpType
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