Enum netstack3_core::testutil::DispatchedFrame
source · pub enum DispatchedFrame {
Ethernet(EthernetWeakDeviceId<FakeBindingsCtx>),
PureIp(PureIpDeviceAndIpVersion<FakeBindingsCtx>),
}
Expand description
A frame that’s been dispatched to Bindings to be sent out the device driver.
Variants§
Ethernet(EthernetWeakDeviceId<FakeBindingsCtx>)
A frame that’s been dispatched to an Ethernet device.
PureIp(PureIpDeviceAndIpVersion<FakeBindingsCtx>)
A frame that’s been dispatched to a PureIp device.
Auto Trait Implementations§
impl Freeze for DispatchedFrame
impl RefUnwindSafe for DispatchedFrame
impl Send for DispatchedFrame
impl Sync for DispatchedFrame
impl Unpin for DispatchedFrame
impl UnwindSafe for DispatchedFrame
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.