#[repr(transparent)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Icmpv4Type(u8);
impl Icmpv4Type {
pub const ECHO_REPLY: Self = Self(0);
pub const DESTINATION_UNREACHABLE: Self = Self(3);
pub const ECHO_REQUEST: Self = Self(8);
pub const TIME_EXCEEDED: Self = Self(11);
pub const fn new(raw: u8) -> Self {
Self(raw)
}
pub const fn raw(self) -> u8 {
self.0
}
}