pub enum IcmpTypeV4 {
Show 30 variants
EchoReply,
DestinationUnreachable,
SourceQuench,
Redirect,
AlternateHostAddress,
Echo,
RouterAdvertisement,
RouterSolicitation,
TimeExceeded,
ParameterProblem,
Timestamp,
TimestampReply,
InformationRequest,
InformationReply,
AddressMaskRequest,
AddressMaskReply,
Traceroute,
DatagramConversionError,
MobileHostRedirect,
IPv6WhereAreYou,
IPv6IAmHere,
MobileRegistrationRequest,
MobileRegistrationReply,
DomainNameRequest,
DomainNameReply,
Skip,
Photuris,
ExtendedEchoRequest,
ExtendedEchoReply,
Unknown,
}Expand description
The ICMPv4 message type.
Variants§
EchoReply
DestinationUnreachable
SourceQuench
Redirect
AlternateHostAddress
Echo
RouterAdvertisement
RouterSolicitation
TimeExceeded
ParameterProblem
Timestamp
TimestampReply
InformationRequest
InformationReply
AddressMaskRequest
AddressMaskReply
Traceroute
DatagramConversionError
MobileHostRedirect
IPv6WhereAreYou
IPv6IAmHere
MobileRegistrationRequest
MobileRegistrationReply
DomainNameRequest
DomainNameReply
Skip
Photuris
ExtendedEchoRequest
ExtendedEchoReply
Unknown
Trait Implementations§
Source§impl Clone for IcmpTypeV4
impl Clone for IcmpTypeV4
Source§fn clone(&self) -> IcmpTypeV4
fn clone(&self) -> IcmpTypeV4
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IcmpTypeV4
Source§impl Debug for IcmpTypeV4
impl Debug for IcmpTypeV4
Source§impl Display for IcmpTypeV4
impl Display for IcmpTypeV4
impl Eq for IcmpTypeV4
Source§impl Hash for IcmpTypeV4
impl Hash for IcmpTypeV4
Source§impl PartialEq for IcmpTypeV4
impl PartialEq for IcmpTypeV4
impl StructuralPartialEq for IcmpTypeV4
Auto Trait Implementations§
impl Freeze for IcmpTypeV4
impl RefUnwindSafe for IcmpTypeV4
impl Send for IcmpTypeV4
impl Sync for IcmpTypeV4
impl Unpin for IcmpTypeV4
impl UnsafeUnpin for IcmpTypeV4
impl UnwindSafe for IcmpTypeV4
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