Enum smoltcp::phy::PcapLinkType [−][src]
pub enum PcapLinkType {
Ethernet,
Ip,
Ieee802154WithFcs,
Unknown(u32),
}
Expand description
Captured packet header type.
Variants
Ethernet
Ethernet frames
Ip
IPv4 or IPv6 packets (depending on the version field)
Ieee802154WithFcs
IEEE 802.15.4 packets with FCS included.
Unknown(u32)
Tuple Fields
0: u32
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for PcapLinkType
impl Send for PcapLinkType
impl Sync for PcapLinkType
impl Unpin for PcapLinkType
impl UnwindSafe for PcapLinkType
Blanket Implementations
Mutably borrows from an owned value. Read more