Enum packet_formats::icmp::ndp::NdpPacketRaw
source · pub enum NdpPacketRaw<B: SplitByteSlice> {
RouterSolicitation(IcmpPacketRaw<Ipv6, B, RouterSolicitation>),
RouterAdvertisement(IcmpPacketRaw<Ipv6, B, RouterAdvertisement>),
NeighborSolicitation(IcmpPacketRaw<Ipv6, B, NeighborSolicitation>),
NeighborAdvertisement(IcmpPacketRaw<Ipv6, B, NeighborAdvertisement>),
Redirect(IcmpPacketRaw<Ipv6, B, Redirect>),
}
Expand description
A raw ICMPv6 packet with an NDP message.
Variants§
RouterSolicitation(IcmpPacketRaw<Ipv6, B, RouterSolicitation>)
RouterAdvertisement(IcmpPacketRaw<Ipv6, B, RouterAdvertisement>)
NeighborSolicitation(IcmpPacketRaw<Ipv6, B, NeighborSolicitation>)
NeighborAdvertisement(IcmpPacketRaw<Ipv6, B, NeighborAdvertisement>)
Redirect(IcmpPacketRaw<Ipv6, B, Redirect>)
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for NdpPacketRaw<B>where
B: Freeze,
impl<B> RefUnwindSafe for NdpPacketRaw<B>where
B: RefUnwindSafe,
impl<B> Send for NdpPacketRaw<B>where
B: Send,
impl<B> Sync for NdpPacketRaw<B>where
B: Sync,
impl<B> Unpin for NdpPacketRaw<B>where
B: Unpin,
impl<B> UnwindSafe for NdpPacketRaw<B>where
B: UnwindSafe,
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