Struct netsim_embed::ethernet::Ethernet [−][src]
pub struct Ethernet { pub destination: MacAddr, pub source: MacAddr, pub ethertype: EtherType, pub payload: Vec<u8, Global>, }
Represents an Ethernet packet.
Fields
destination: MacAddr
source: MacAddr
ethertype: EtherType
payload: Vec<u8, Global>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ethernet
impl RefUnwindSafe for Ethernet
impl UnwindSafe for Ethernet
impl UnwindSafe for Ethernet
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,