Struct netstack3_core::tcp::TcpSocketId
source · pub struct TcpSocketId<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes>(/* private fields */);
Expand description
A TCP Socket ID.
Trait Implementations§
source§impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Clone for TcpSocketId<I, D, BT>
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Clone for TcpSocketId<I, D, BT>
source§impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Debug for TcpSocketId<I, D, BT>
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Debug for TcpSocketId<I, D, BT>
source§impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes, IpType> GenericOverIp<IpType> for TcpSocketId<I, D, BT>where
IpType: DualStackIpExt + Ip,
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes, IpType> GenericOverIp<IpType> for TcpSocketId<I, D, BT>where
IpType: DualStackIpExt + Ip,
§type Type = TcpSocketId<IpType, D, BT>
type Type = TcpSocketId<IpType, D, BT>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Hash for TcpSocketId<I, D, BT>
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Hash for TcpSocketId<I, D, BT>
source§impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> PartialEq for TcpSocketId<I, D, BT>
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> PartialEq for TcpSocketId<I, D, BT>
impl<I: DualStackIpExt, D: WeakId, BT: TcpBindingsTypes> Eq for TcpSocketId<I, D, BT>
Auto Trait Implementations§
impl<I, D, BT> Freeze for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
impl<I, D, BT> RefUnwindSafe for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
impl<I, D, BT> Send for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
impl<I, D, BT> Sync for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
impl<I, D, BT> Unpin for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
impl<I, D, BT> UnwindSafe for TcpSocketId<I, D, BT>where
BT: TimerBindingsTypes + InstantBindingsTypes + 'static,
D: PartialEq<<D as WeakId>::Strong> + Id + Sync + Send + PartialEq + Hash + Eq + Debug + Clone + 'static,
I: DualStackIpExt + IpDeviceStateIpExt + IpTypesIpExt + IpExt + IcmpIpExt + IpProtoExt + EthernetIpExt + Ip + Sealed + Sync + Send + PartialOrd + PartialEq + Ord + Hash + Eq + Default + Debug + Copy + Clone + IpLayerIpExt + IpExt + IcmpIpExt + 'static,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.