Struct netlink_sys::rtnl::AddressHeader [−][src]
pub struct AddressHeader {
pub family: u8,
pub prefix_len: u8,
pub flags: u8,
pub scope: u8,
pub index: u32,
}Fields
family: u8
prefix_len: u8
flags: u8
scope: u8
index: u32
Trait Implementations
impl Debug for AddressHeader[src]
impl Debug for AddressHeaderfn 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 AddressHeader[src]
impl PartialEq for AddressHeaderfn eq(&self, other: &AddressHeader) -> bool[src]
fn eq(&self, other: &AddressHeader) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AddressHeader) -> bool[src]
fn ne(&self, other: &AddressHeader) -> boolThis method tests for !=.
impl Eq for AddressHeader[src]
impl Eq for AddressHeaderimpl Clone for AddressHeader[src]
impl Clone for AddressHeaderfn clone(&self) -> AddressHeader[src]
fn clone(&self) -> AddressHeaderReturns 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 Emitable for AddressHeader[src]
impl Emitable for AddressHeaderfn buffer_len(&self) -> usize[src]
fn buffer_len(&self) -> usizeReturn the length of the serialized data.
fn emit(&self, buffer: &mut [u8])[src]
fn emit(&self, buffer: &mut [u8])Serialize this types and write the serialized data into the given buffer. Read more
impl<T: AsRef<[u8]>> Parseable<AddressHeader> for AddressBuffer<T>[src]
impl<T: AsRef<[u8]>> Parseable<AddressHeader> for AddressBuffer<T>fn parse(&self) -> Result<AddressHeader>[src]
fn parse(&self) -> Result<AddressHeader>Deserialize the current type.
Auto Trait Implementations
impl Send for AddressHeader
impl Send for AddressHeaderimpl Sync for AddressHeader
impl Sync for AddressHeader