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