pub enum IpHdr {
V4(Ipv4Hdr),
V6(Ipv6Hdr),
}Expand description
IP headers, which are present after the Ethernet header.
Variants§
Auto Trait Implementations§
impl Freeze for IpHdr
impl RefUnwindSafe for IpHdr
impl Send for IpHdr
impl Sync for IpHdr
impl Unpin for IpHdr
impl UnwindSafe for IpHdr
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