Enum netstack3_core::device_socket::SentFrame
source · pub enum SentFrame<B> {
Ethernet(EthernetFrame<B>),
Ip(IpFrame<B>),
}
Expand description
A frame sent on a device.
Variants§
Ethernet(EthernetFrame<B>)
An ethernet frame sent on a device.
Ip(IpFrame<B>)
An IP frame sent on a device.
Note that this is not an IP packet within an Ethernet Frame. This is an IP Packet send directly on the device (e.g. a pure IP device).
Trait Implementations§
source§impl<B: PartialEq> PartialEq for SentFrame<B>
impl<B: PartialEq> PartialEq for SentFrame<B>
impl<B: Copy> Copy for SentFrame<B>
impl<B: Eq> Eq for SentFrame<B>
impl<B> StructuralPartialEq for SentFrame<B>
Auto Trait Implementations§
impl<B> Freeze for SentFrame<B>where
B: Freeze,
impl<B> RefUnwindSafe for SentFrame<B>where
B: RefUnwindSafe,
impl<B> Send for SentFrame<B>where
B: Send,
impl<B> Sync for SentFrame<B>where
B: Sync,
impl<B> Unpin for SentFrame<B>where
B: Unpin,
impl<B> UnwindSafe for SentFrame<B>where
B: 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.