#[repr(transparent)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Ipv6NextHeader(u8);
impl Ipv6NextHeader {
pub const HOPOPT: Self = Self(0);
pub const ROUTING: Self = Self(43);
pub const FRAGMENT: Self = Self(44);
pub const ESP: Self = Self(50);
pub const AUTHENTICATION: Self = Self(51);
pub const DESTINATION_OPTIONS: Self = Self(60);
pub const TCP: Self = Self(6);
pub const UDP: Self = Self(17);
pub const ICMPV6: Self = Self(58);
pub const NO_NEXT_HEADER: Self = Self(59);
#[inline]
pub const fn new(raw: u8) -> Self {
Self(raw)
}
#[inline]
pub const fn raw(self) -> u8 {
self.0
}
}