Struct netlink_packet_route::rtnl::nsid::NsidHeader
source · [−]pub struct NsidHeader {
pub rtgen_family: u8,
}
Fields
rtgen_family: u8
Trait Implementations
sourceimpl Clone for NsidHeader
impl Clone for NsidHeader
sourcefn clone(&self) -> NsidHeader
fn clone(&self) -> NsidHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NsidHeader
impl Debug for NsidHeader
sourceimpl Default for NsidHeader
impl Default for NsidHeader
sourcefn default() -> NsidHeader
fn default() -> NsidHeader
Returns the “default value” for a type. Read more
sourceimpl Emitable for NsidHeader
impl Emitable for NsidHeader
sourceimpl<T: AsRef<[u8]>> Parseable<NsidMessageBuffer<T>> for NsidHeader
impl<T: AsRef<[u8]>> Parseable<NsidMessageBuffer<T>> for NsidHeader
sourcefn parse(buf: &NsidMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &NsidMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl PartialEq<NsidHeader> for NsidHeader
impl PartialEq<NsidHeader> for NsidHeader
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NsidHeader) -> bool
fn ne(&self, other: &NsidHeader) -> bool
This method tests for !=
.
impl Eq for NsidHeader
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more