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
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§
impl StructuralPartialEq for IcmpType
Auto Trait Implementations§
impl Freeze for IcmpType
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