Struct netlink_packet_route::rtnl::nsid::NsidHeader
source · #[non_exhaustive]pub struct NsidHeader {
pub rtgen_family: u8,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rtgen_family: u8Trait 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.
source§impl PartialEq<NsidHeader> for NsidHeader
impl PartialEq<NsidHeader> for NsidHeader
source§fn eq(&self, other: &NsidHeader) -> bool
fn eq(&self, other: &NsidHeader) -> bool
This method tests for
self and other values to be equal, and is used
by ==.