Struct packet_formats::icmp::IcmpPacketBuilder
source · pub struct IcmpPacketBuilder<I: IcmpIpExt, M: IcmpMessage<I>> { /* private fields */ }
Expand description
A builder for ICMP packets.
Implementations§
source§impl<I: IcmpIpExt, M: IcmpMessage<I>> IcmpPacketBuilder<I, M>
impl<I: IcmpIpExt, M: IcmpMessage<I>> IcmpPacketBuilder<I, M>
Trait Implementations§
source§impl<I: Debug + IcmpIpExt, M: Debug + IcmpMessage<I>> Debug for IcmpPacketBuilder<I, M>
impl<I: Debug + IcmpIpExt, M: Debug + IcmpMessage<I>> Debug for IcmpPacketBuilder<I, M>
source§impl<I: IcmpIpExt, M: IcmpMessage<I>> PacketBuilder for IcmpPacketBuilder<I, M>
impl<I: IcmpIpExt, M: IcmpMessage<I>> PacketBuilder for IcmpPacketBuilder<I, M>
Auto Trait Implementations§
impl<I, M> Freeze for IcmpPacketBuilder<I, M>
impl<I, M> RefUnwindSafe for IcmpPacketBuilder<I, M>where
M: Unaligned + NoCell + IntoBytes + FromBytes + FromZeros + Copy + Clone + RefUnwindSafe,
I: IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + 'static,
<I as Ip>::Addr: RefUnwindSafe,
<M as IcmpMessage<I>>::Code: RefUnwindSafe,
impl<I, M> Send for IcmpPacketBuilder<I, M>
impl<I, M> Sync for IcmpPacketBuilder<I, M>
impl<I, M> Unpin for IcmpPacketBuilder<I, M>
impl<I, M> UnwindSafe for IcmpPacketBuilder<I, M>where
M: Unaligned + NoCell + IntoBytes + FromBytes + FromZeros + Copy + Clone + UnwindSafe,
I: IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + 'static,
<I as Ip>::Addr: UnwindSafe,
<M as IcmpMessage<I>>::Code: 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