Struct netlink_packet_route::nsid::NsidHeader
source · pub struct NsidHeader {
pub family: AddressFamily,
}
Fields§
§family: AddressFamily
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.
source§impl PartialEq for NsidHeader
impl PartialEq 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 ==
.impl Eq for NsidHeader
impl StructuralPartialEq for NsidHeader
Auto Trait Implementations§
impl RefUnwindSafe for NsidHeader
impl Send for NsidHeader
impl Sync for NsidHeader
impl Unpin for NsidHeader
impl UnwindSafe for NsidHeader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more