Struct netstack3_core::StackState
source · pub struct StackState<BT: BindingsTypes> { /* private fields */ }
Expand description
The state associated with the network stack.
Implementations§
source§impl<BT: BindingsTypes> StackState<BT>
impl<BT: BindingsTypes> StackState<BT>
source§impl<BC: BindingsContext> StackState<BC>
impl<BC: BindingsContext> StackState<BC>
Auto Trait Implementations§
impl<BT> !Freeze for StackState<BT>
impl<BT> RefUnwindSafe for StackState<BT>where
BT: TimerBindingsTypes<DispatchId = TimerId<BT>> + UdpBindingsTypes + IcmpBindingsTypes + IcmpEchoBindingsTypes + FilterBindingsTypes + TcpBindingsTypes + DeviceLayerTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + InstantContext + InstantBindingsTypes + 'static,
<BT as InstantBindingsTypes>::Instant: RefUnwindSafe,
impl<BT> Send for StackState<BT>where
BT: TimerBindingsTypes<DispatchId = TimerId<BT>> + UdpBindingsTypes + IcmpBindingsTypes + IcmpEchoBindingsTypes + FilterBindingsTypes + TcpBindingsTypes + DeviceLayerTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + InstantContext + InstantBindingsTypes + 'static,
<BT as FilterBindingsTypes>::DeviceClass: Sync + Send,
impl<BT> Sync for StackState<BT>where
BT: TimerBindingsTypes<DispatchId = TimerId<BT>> + UdpBindingsTypes + IcmpBindingsTypes + IcmpEchoBindingsTypes + FilterBindingsTypes + TcpBindingsTypes + DeviceLayerTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + InstantContext + InstantBindingsTypes + 'static,
<BT as FilterBindingsTypes>::DeviceClass: Sync + Send,
impl<BT> Unpin for StackState<BT>where
BT: TimerBindingsTypes<DispatchId = TimerId<BT>> + UdpBindingsTypes + IcmpBindingsTypes + IcmpEchoBindingsTypes + FilterBindingsTypes + TcpBindingsTypes + DeviceLayerTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + InstantContext + InstantBindingsTypes + 'static,
<BT as InstantBindingsTypes>::Instant: Unpin,
<BT as TimerBindingsTypes>::Timer: Unpin,
<BT as FilterBindingsTypes>::DeviceClass: Unpin,
impl<BT> UnwindSafe for StackState<BT>where
BT: TimerBindingsTypes<DispatchId = TimerId<BT>> + UdpBindingsTypes + IcmpBindingsTypes + IcmpEchoBindingsTypes + FilterBindingsTypes + TcpBindingsTypes + DeviceLayerTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + InstantContext + InstantBindingsTypes + 'static,
<BT as InstantBindingsTypes>::Instant: 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