pub struct EthernetFrameMetadata {
pub src_mac: Mac,
pub dst_mac: Mac,
pub ethertype: Option<EtherType>,
}
Expand description
Metadata of an Ethernet frame.
Fields§
§src_mac: Mac
§dst_mac: Mac
§ethertype: Option<EtherType>
Auto Trait Implementations§
impl Freeze for EthernetFrameMetadata
impl RefUnwindSafe for EthernetFrameMetadata
impl Send for EthernetFrameMetadata
impl Sync for EthernetFrameMetadata
impl Unpin for EthernetFrameMetadata
impl UnwindSafe for EthernetFrameMetadata
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