Enum netlink_sys::rtnl::LinkInfoKind [−][src]
pub enum LinkInfoKind {
Dummy,
Ifb,
Bridge,
Tun,
Nlmon,
Vlan,
Veth,
Vxlan,
Bond,
IpVlan,
MacVlan,
MacVtap,
GreTap,
GreTap6,
IpTun,
SitTun,
GreTun,
GreTun6,
Vti,
Vrf,
Gtp,
Other(String),
}Variants
DummyIfbBridgeTunNlmonVlanVethVxlanBondIpVlanMacVlanMacVtapGreTapGreTap6IpTunSitTunGreTunGreTun6VtiVrfGtpOther(String)
Trait Implementations
impl Debug for LinkInfoKind[src]
impl Debug for LinkInfoKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for LinkInfoKind[src]
impl PartialEq for LinkInfoKindfn eq(&self, other: &LinkInfoKind) -> bool[src]
fn eq(&self, other: &LinkInfoKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LinkInfoKind) -> bool[src]
fn ne(&self, other: &LinkInfoKind) -> boolThis method tests for !=.
impl Eq for LinkInfoKind[src]
impl Eq for LinkInfoKindimpl Clone for LinkInfoKind[src]
impl Clone for LinkInfoKindfn clone(&self) -> LinkInfoKind[src]
fn clone(&self) -> LinkInfoKindReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Nla for LinkInfoKind[src]
impl Nla for LinkInfoKindfn value_len(&self) -> usize[src]
fn value_len(&self) -> usizefn emit_value(&self, buffer: &mut [u8])[src]
fn emit_value(&self, buffer: &mut [u8])fn kind(&self) -> u16[src]
fn kind(&self) -> u16impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkInfoKind> for NlaBuffer<&'buffer T>[src]
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkInfoKind> for NlaBuffer<&'buffer T>fn parse(&self) -> Result<LinkInfoKind>[src]
fn parse(&self) -> Result<LinkInfoKind>Deserialize the current type.
Auto Trait Implementations
impl Send for LinkInfoKind
impl Send for LinkInfoKindimpl Sync for LinkInfoKind
impl Sync for LinkInfoKind