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
Source§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 Ord for Ipv6Proto
impl Ord for Ipv6Proto
Source§impl PartialOrd for Ipv6Proto
impl PartialOrd 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)