Enum zero_packet::misc::IcmpType
source · #[repr(u8)]pub enum IcmpType {
Show 22 variants
EchoReply = 0,
DestUnreachable = 3,
SourceQuench = 4,
Redirect = 5,
EchoRequest = 8,
RouterAdvertisement = 9,
RouterSelection = 10,
TimeExceeded = 11,
ParameterProblem = 12,
Timestamp = 13,
TimestampReply = 14,
InformationRequest = 15,
InformationReply = 16,
AddressMaskRequest = 17,
AddressMaskReply = 18,
Traceroute = 30,
Photuris = 40,
ExtendedEchoRequest = 42,
ExtendedEchoReply = 43,
Experimental1 = 253,
Experimental2 = 254,
Unknown = 255,
}
Expand description
Common ICMP types.
Variants§
EchoReply = 0
DestUnreachable = 3
SourceQuench = 4
Redirect = 5
EchoRequest = 8
RouterAdvertisement = 9
RouterSelection = 10
TimeExceeded = 11
ParameterProblem = 12
Timestamp = 13
TimestampReply = 14
InformationRequest = 15
InformationReply = 16
AddressMaskRequest = 17
AddressMaskReply = 18
Traceroute = 30
Photuris = 40
ExtendedEchoRequest = 42
ExtendedEchoReply = 43
Experimental1 = 253
Experimental2 = 254
Unknown = 255
Trait Implementations§
source§impl PartialEq for IcmpType
impl PartialEq for IcmpType
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