#[repr(u8)]pub enum Icmpv4Type {
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 ICMPv4 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 Debug for Icmpv4Type
impl Debug for Icmpv4Type
Source§impl From<u8> for Icmpv4Type
impl From<u8> for Icmpv4Type
Source§impl PartialEq for Icmpv4Type
impl PartialEq for Icmpv4Type
impl StructuralPartialEq for Icmpv4Type
Auto Trait Implementations§
impl Freeze for Icmpv4Type
impl RefUnwindSafe for Icmpv4Type
impl Send for Icmpv4Type
impl Sync for Icmpv4Type
impl Unpin for Icmpv4Type
impl UnwindSafe for Icmpv4Type
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