pub struct PureIpDeviceReceiveFrameMetadata<D> {
pub device_id: D,
pub ip_version: IpVersion,
}
Expand description
Metadata for IP packets received on a pure IP device.
Fields§
§device_id: D
The device a packet was received on.
ip_version: IpVersion
The IP version of the received packet.
Auto Trait Implementations§
impl<D> Freeze for PureIpDeviceReceiveFrameMetadata<D>where
D: Freeze,
impl<D> RefUnwindSafe for PureIpDeviceReceiveFrameMetadata<D>where
D: RefUnwindSafe,
impl<D> Send for PureIpDeviceReceiveFrameMetadata<D>where
D: Send,
impl<D> Sync for PureIpDeviceReceiveFrameMetadata<D>where
D: Sync,
impl<D> Unpin for PureIpDeviceReceiveFrameMetadata<D>where
D: Unpin,
impl<D> UnwindSafe for PureIpDeviceReceiveFrameMetadata<D>where
D: 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
§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.