Enum rtnetlink::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
Dummy
Ifb
Bridge
Tun
Nlmon
Vlan
Veth
Vxlan
Bond
IpVlan
MacVlan
MacVtap
GreTap
GreTap6
IpTun
SitTun
GreTun
GreTun6
Vti
Vrf
Gtp
Other(String)
Trait Implementations
impl Debug for LinkInfoKind
[src]
impl Debug for LinkInfoKind
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 LinkInfoKind
[src]
impl PartialEq for LinkInfoKind
fn eq(&self, other: &LinkInfoKind) -> bool
[src]
fn eq(&self, other: &LinkInfoKind) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for LinkInfoKind
[src]
impl Eq for LinkInfoKind
impl Clone for LinkInfoKind
[src]
impl Clone for LinkInfoKind
fn clone(&self) -> LinkInfoKind
[src]
fn clone(&self) -> LinkInfoKind
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Nla for LinkInfoKind
[src]
impl Nla for LinkInfoKind
fn value_len(&self) -> usize
[src]
fn value_len(&self) -> usize
fn emit_value(&self, buffer: &mut [u8])
[src]
fn emit_value(&self, buffer: &mut [u8])
fn kind(&self) -> u16
[src]
fn kind(&self) -> u16
impl<'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 LinkInfoKind
impl Sync for LinkInfoKind
impl Sync for LinkInfoKind