#[repr(u8)]pub enum IcmpV4MsgType {
EchoReply = 0,
DestinationUnreachable = 3,
SourceQuench = 4,
Redirect = 5,
EchoRequest = 8,
TimeExceeded = 11,
ParameterProblem = 12,
Timestamp = 13,
TimestampReply = 14,
InfoRequest = 15,
InfoReply = 16,
}
Expand description
RFC 792 ICMPv4 message types.
Provided as a reference for the message type magic numbers.
Variants§
EchoReply = 0
DestinationUnreachable = 3
SourceQuench = 4
Redirect = 5
EchoRequest = 8
TimeExceeded = 11
ParameterProblem = 12
Timestamp = 13
TimestampReply = 14
InfoRequest = 15
InfoReply = 16
Auto Trait Implementations§
impl Freeze for IcmpV4MsgType
impl RefUnwindSafe for IcmpV4MsgType
impl Send for IcmpV4MsgType
impl Sync for IcmpV4MsgType
impl Unpin for IcmpV4MsgType
impl UnwindSafe for IcmpV4MsgType
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