Struct smoltcp::wire::EthernetRepr [−][src]
Expand description
A high-level representation of an Internet Protocol version 4 packet header.
Fields
src_addr: Address
dst_addr: Address
ethertype: EtherType
Implementations
Parse an Ethernet II frame and return a high-level representation.
Return the length of a header that will be emitted from this high-level representation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Repr
impl UnwindSafe for Repr
Blanket Implementations
Mutably borrows from an owned value. Read more