pub enum IpInIp<'a> {
Ipv4(IPv4Reader<'a>),
Ipv6(IPv6Reader<'a>),
}Expand description
Represents an encapsulated IP-in-IP protocol.
Variants§
Ipv4(IPv4Reader<'a>)
Ipv6(IPv6Reader<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for IpInIp<'a>
impl<'a> RefUnwindSafe for IpInIp<'a>
impl<'a> Send for IpInIp<'a>
impl<'a> Sync for IpInIp<'a>
impl<'a> Unpin for IpInIp<'a>
impl<'a> UnwindSafe for IpInIp<'a>
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