pub enum IpProtocol {
Show 13 variants
HopByHop,
Icmp,
Igmp,
Tcp,
Udp,
Ipv6Route,
Ipv6Frag,
IpSecEsp,
IpSecAh,
Icmpv6,
Ipv6NoNxt,
Ipv6Opts,
Unknown(u8),
}
Expand description
IP datagram encapsulated protocol.
Variants§
HopByHop
Icmp
Igmp
Tcp
Udp
Ipv6Route
Ipv6Frag
IpSecEsp
IpSecAh
Icmpv6
Ipv6NoNxt
Ipv6Opts
Unknown(u8)
Trait Implementations§
Source§impl Ord for Protocol
impl Ord for Protocol
Source§impl PartialOrd for Protocol
impl PartialOrd for Protocol
impl Copy for Protocol
impl Eq for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)