Enum rtnetlink::LinkInfoVlan [−][src]
pub enum LinkInfoVlan { Unspec(Vec<u8>), Id(u16), Flags((u32, u32)), EgressQos(Vec<u8>), IngressQos(Vec<u8>), Protocol(u16), }
Variants
Unspec(Vec<u8>)
Id(u16)
Flags((u32, u32))
EgressQos(Vec<u8>)
IngressQos(Vec<u8>)
Protocol(u16)
Trait Implementations
impl Debug for LinkInfoVlan
[src]
impl Debug for LinkInfoVlan
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 LinkInfoVlan
[src]
impl PartialEq for LinkInfoVlan
fn eq(&self, other: &LinkInfoVlan) -> bool
[src]
fn eq(&self, other: &LinkInfoVlan) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LinkInfoVlan) -> bool
[src]
fn ne(&self, other: &LinkInfoVlan) -> bool
This method tests for !=
.
impl Eq for LinkInfoVlan
[src]
impl Eq for LinkInfoVlan
impl Clone for LinkInfoVlan
[src]
impl Clone for LinkInfoVlan
fn clone(&self) -> LinkInfoVlan
[src]
fn clone(&self) -> LinkInfoVlan
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 LinkInfoVlan
[src]
impl Nla for LinkInfoVlan
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<LinkInfoVlan> for NlaBuffer<&'buffer T>
[src]
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkInfoVlan> for NlaBuffer<&'buffer T>
fn parse(&self) -> Result<LinkInfoVlan>
[src]
fn parse(&self) -> Result<LinkInfoVlan>
Deserialize the current type.
Auto Trait Implementations
impl Send for LinkInfoVlan
impl Send for LinkInfoVlan
impl Sync for LinkInfoVlan
impl Sync for LinkInfoVlan