Struct netlink_packet_route::rtnl::nsid::NsidHeader
source · pub struct NsidHeader {
pub rtgen_family: u8,
}
Fields§
§rtgen_family: u8
Trait Implementations§
source§impl Clone for NsidHeader
impl Clone for NsidHeader
source§fn clone(&self) -> NsidHeader
fn clone(&self) -> NsidHeader
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 NsidHeader
impl Debug for NsidHeader
source§impl Default for NsidHeader
impl Default for NsidHeader
source§fn default() -> NsidHeader
fn default() -> NsidHeader
Returns the “default value” for a type. Read more
source§impl Emitable for NsidHeader
impl Emitable for NsidHeader
source§impl<T: AsRef<[u8]>> Parseable<NsidMessageBuffer<T>> for NsidHeader
impl<T: AsRef<[u8]>> Parseable<NsidMessageBuffer<T>> for NsidHeader
source§fn parse(buf: &NsidMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &NsidMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.