Enum rtnetlink::LinkLayerType [−][src]
pub enum LinkLayerType { Netrom, Ether, Eether, Ax25, Pronet, Chaos, Ieee802, Arcnet, Appletlk, Dlci, Atm, Metricom, Ieee1394, Eui64, Infiniband, Slip, Cslip, Slip6, Cslip6, Rsrvd, Adapt, Rose, X25, Hwx25, Can, Ppp, Hdlc, Lapb, Ddcmp, Rawhdlc, Rawip, Tunnel, Tunnel6, Frad, Skip, Loopback, Localtlk, Fddi, Bif, Sit, Ipddp, IpGre, Pimreg, Hippi, Ash, Econet, Irda, Fcpp, Fcal, Fcpl, Fcfabric, Ieee802Tr, Ieee80211, Ieee80211Prism, Ieee80211Radiotap, Ieee802154, Ieee802154Monitor, Phonet, PhonetPipe, Caif, Ip6Gre, Netlink, SixLowpan, Vsockmon, Void, None, Other(u16), }
Variants
Netrom
Link type is ARPHRD_NETROM
Ether
Link type is ARPHRD_ETHER
Eether
Link type is ARPHRD_EETHER
Ax25
Link type is ARPHRD_AX25
Pronet
Link type is ARPHRD_PRONET
Chaos
Link type is ARPHRD_CHAOS
Ieee802
Link type is ARPHRD_IEEE802
Arcnet
Link type is ARPHRD_ARCNET
Appletlk
Link type is ARPHRD_APPLETLK
Dlci
Link type is ARPHRD_DLCI
Atm
Link type is ARPHRD_ATM
Metricom
Link type is ARPHRD_METRICOM
Ieee1394
Link type is ARPHRD_IEEE1394
Eui64
Link type is ARPHRD_EUI64
Infiniband
Link type is ARPHRD_INFINIBAND
Slip
Link type is ARPHRD_SLIP
Cslip
Link type is ARPHRD_CSLIP
Slip6
Link type is ARPHRD_SLIP6
Cslip6
Link type is ARPHRD_CSLIP6
Rsrvd
Link type is ARPHRD_RSRVD
Adapt
Link type is ARPHRD_ADAPT
Rose
Link type is ARPHRD_ROSE
X25
Link type is ARPHRD_X25
Hwx25
Link type is ARPHRD_HWX25
Can
Link type is ARPHRD_CAN
Ppp
Link type is ARPHRD_PPP
Hdlc
Link type is ARPHRD_CISCO
or ARPHRD_HDLC
Lapb
Link type is ARPHRD_LAPB
Ddcmp
Link type is ARPHRD_DDCMP
Rawhdlc
Link type is ARPHRD_RAWHDLC
Rawip
Link type is ARPHRD_RAWIP
Tunnel
Link type is ARPHRD_TUNNEL
Tunnel6
Link type is ARPHRD_TUNNEL6
Frad
Link type is ARPHRD_FRAD
Skip
Link type is ARPHRD_SKIP
Loopback
Link type is ARPHRD_LOOPBACK
Localtlk
Link type is ARPHRD_LOCALTLK
Fddi
Link type is ARPHRD_FDDI
Bif
Link type is ARPHRD_BIF
Sit
Link type is ARPHRD_SIT
Ipddp
Link type is ARPHRD_IPDDP
IpGre
Link type is ARPHRD_IPGRE
Pimreg
Link type is ARPHRD_PIMREG
Hippi
Link type is ARPHRD_HIPPI
Ash
Link type is ARPHRD_ASH
Econet
Link type is ARPHRD_ECONET
Irda
Link type is ARPHRD_IRDA
Fcpp
Link type is ARPHRD_FCPP
Fcal
Link type is ARPHRD_FCAL
Fcpl
Link type is ARPHRD_FCPL
Fcfabric
Link type is ARPHRD_FCFABRIC
Ieee802Tr
Link type is ARPHRD_IEEE802_TR
Ieee80211
Link type is ARPHRD_IEEE80211
Ieee80211Prism
Link type is ARPHRD_IEEE80211_PRISM
Ieee80211Radiotap
Link type is ARPHRD_IEEE80211_RADIOTAP
Ieee802154
Link type is ARPHRD_IEEE802154
Ieee802154Monitor
Link type is ARPHRD_IEEE802154_MONITOR
Phonet
Link type is ARPHRD_PHONET
PhonetPipe
Link type is ARPHRD_PHONET_PIPE
Caif
Link type is ARPHRD_CAIF
Ip6Gre
Link type is ARPHRD_IP6GRE
Netlink
Link type is ARPHRD_NETLINK
SixLowpan
Link type is ARPHRD_6LOWPAN
Vsockmon
Link type is ARPHRD_VSOCKMON
Void
Link type is ARPHRD_VOID
None
Link type is ARPHRD_NONE
Other(u16)
Link type is unknown
Trait Implementations
impl Debug for LinkLayerType
[src]
impl Debug for LinkLayerType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for LinkLayerType
[src]
impl PartialEq for LinkLayerType
fn eq(&self, other: &LinkLayerType) -> bool
[src]
fn eq(&self, other: &LinkLayerType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LinkLayerType) -> bool
[src]
fn ne(&self, other: &LinkLayerType) -> bool
This method tests for !=
.
impl Eq for LinkLayerType
[src]
impl Eq for LinkLayerType
impl Hash for LinkLayerType
[src]
impl Hash for LinkLayerType
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for LinkLayerType
[src]
impl Copy for LinkLayerType
impl Clone for LinkLayerType
[src]
impl Clone for LinkLayerType
fn clone(&self) -> LinkLayerType
[src]
fn clone(&self) -> LinkLayerType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl From<LinkLayerType> for u16
[src]
impl From<LinkLayerType> for u16
fn from(llt: LinkLayerType) -> u16
[src]
fn from(llt: LinkLayerType) -> u16
Performs the conversion.
impl From<u16> for LinkLayerType
[src]
impl From<u16> for LinkLayerType
impl Default for LinkLayerType
[src]
impl Default for LinkLayerType
Auto Trait Implementations
impl Send for LinkLayerType
impl Send for LinkLayerType
impl Sync for LinkLayerType
impl Sync for LinkLayerType