Struct netlink_packet_route::rtnl::AddressHeader
source · 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§
source§impl Clone for AddressHeader
impl Clone for AddressHeader
source§fn clone(&self) -> AddressHeader
fn clone(&self) -> AddressHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddressHeader
impl Debug for AddressHeader
source§impl Default for AddressHeader
impl Default for AddressHeader
source§fn default() -> AddressHeader
fn default() -> AddressHeader
Returns the “default value” for a type. Read more
source§impl Emitable for AddressHeader
impl Emitable for AddressHeader
source§impl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
impl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
source§fn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.