Struct netstack3_core::testutil::context::PureIpDeviceAndIpVersion
source · pub struct PureIpDeviceAndIpVersion<BT: DeviceLayerTypes> { /* private fields */ }
Expand description
A tuple of device ID and IP version.
Trait Implementations§
Auto Trait Implementations§
impl<BT> Freeze for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
impl<BT> RefUnwindSafe for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
<BT as DeviceLayerStateTypes>::DeviceIdentifier: RefUnwindSafe,
<BT as DeviceLayerStateTypes>::PureIpDeviceState: RefUnwindSafe,
impl<BT> Send for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
impl<BT> Sync for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
impl<BT> Unpin for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
impl<BT> UnwindSafe for PureIpDeviceAndIpVersion<BT>where
BT: ReferenceNotifiers + TimerBindingsTypes + LinkResolutionContext<EthernetLinkDevice> + DeviceSocketTypes + DeviceLayerStateTypes + FilterBindingsTypes + InstantBindingsTypes + InstantContext + 'static,
<BT as DeviceLayerStateTypes>::DeviceIdentifier: RefUnwindSafe,
<BT as DeviceLayerStateTypes>::PureIpDeviceState: 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
§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.