Struct netstack3_core::icmp::IcmpSocketId
source · pub struct IcmpSocketId<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes>(/* private fields */);
Expand description
An ICMP socket.
Implementations§
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> IcmpSocketId<I, D, BT>
sourcepub fn debug_references(&self) -> impl Debug
pub fn debug_references(&self) -> impl Debug
Returns a means to debug outstanding references to this socket.
sourcepub fn external_data(&self) -> &BT::ExternalData<I>
pub fn external_data(&self) -> &BT::ExternalData<I>
Returns external data associated with this socket.
Trait Implementations§
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Borrow<Strong<ReferenceState<I, D, Icmp<BT>>>> for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Borrow<Strong<ReferenceState<I, D, Icmp<BT>>>> for IcmpSocketId<I, D, BT>
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Clone for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Clone for IcmpSocketId<I, D, BT>
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Debug for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Debug for IcmpSocketId<I, D, BT>
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> From<Strong<ReferenceState<I, D, Icmp<BT>>>> for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> From<Strong<ReferenceState<I, D, Icmp<BT>>>> for IcmpSocketId<I, D, BT>
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes, IpType> GenericOverIp<IpType> for IcmpSocketId<I, D, BT>where
IpType: IpExt + Ip,
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes, IpType> GenericOverIp<IpType> for IcmpSocketId<I, D, BT>where
IpType: IpExt + Ip,
§type Type = IcmpSocketId<IpType, D, BT>
type Type = IcmpSocketId<IpType, D, BT>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Hash for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Hash for IcmpSocketId<I, D, BT>
source§impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> PartialEq for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> PartialEq for IcmpSocketId<I, D, BT>
impl<I: IpExt, D: WeakId, BT: IcmpEchoBindingsTypes> Eq for IcmpSocketId<I, D, BT>
Auto Trait Implementations§
impl<I, D, BT> Freeze for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
impl<I, D, BT> RefUnwindSafe for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
<BT as IcmpEchoBindingsTypes>::ExternalData<I>: RefUnwindSafe,
impl<I, D, BT> Send for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
impl<I, D, BT> Sync for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
impl<I, D, BT> Unpin for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
impl<I, D, BT> UnwindSafe for IcmpSocketId<I, D, BT>where
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: IcmpIpExt + IcmpIpExt + IpProtoExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpExt + EthernetIpExt + IpExt + DualStackIpExt + DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpLayerIpExt + IpExt + 'static,
<BT as IcmpEchoBindingsTypes>::ExternalData<I>: RefUnwindSafe,
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