Enum netlink_sys::rtnl::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 AddressNlafn 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 AddressNla[src]
impl PartialEq for AddressNlafn eq(&self, other: &AddressNla) -> bool[src]
fn eq(&self, other: &AddressNla) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for AddressNla[src]
impl Eq for AddressNlaimpl Clone for AddressNla[src]
impl Clone for AddressNlafn clone(&self) -> AddressNla[src]
fn clone(&self) -> AddressNlaReturns 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 AddressNlafn 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<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 AddressNlaimpl Sync for AddressNla
impl Sync for AddressNla