Enum packet_formats::ip::Ipv6Proto
source · pub enum Ipv6Proto {
Icmpv6,
NoNextHeader,
Proto(IpProto),
Other(u8),
}
Expand description
An IPv6 protocol number.
The protocol numbers are maintained by IANA.
Variants§
Trait Implementations§
source§impl<I: Ip + IpProtoExt> GenericOverIp<I> for Ipv6Proto
impl<I: Ip + IpProtoExt> GenericOverIp<I> for Ipv6Proto
§type Type = <I as IpProtoExt>::Proto
type Type = <I as IpProtoExt>::Proto
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl PartialEq for Ipv6Proto
impl PartialEq for Ipv6Proto
impl Copy for Ipv6Proto
impl Eq for Ipv6Proto
impl IpProtocol for Ipv6Proto
impl StructuralPartialEq for Ipv6Proto
Auto Trait Implementations§
impl Freeze for Ipv6Proto
impl RefUnwindSafe for Ipv6Proto
impl Send for Ipv6Proto
impl Sync for Ipv6Proto
impl Unpin for Ipv6Proto
impl UnwindSafe for Ipv6Proto
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