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
sourceimpl Clone for AddressHeader
impl Clone for AddressHeader
sourcefn clone(&self) -> AddressHeader
fn clone(&self) -> AddressHeader
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 AddressHeader
impl Debug for AddressHeader
sourceimpl Default for AddressHeader
impl Default for AddressHeader
sourcefn default() -> AddressHeader
fn default() -> AddressHeader
Returns the “default value” for a type. Read more
sourceimpl Emitable for AddressHeader
impl Emitable for AddressHeader
sourceimpl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
impl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
sourcefn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl PartialEq<AddressHeader> for AddressHeader
impl PartialEq<AddressHeader> for AddressHeader
sourcefn eq(&self, other: &AddressHeader) -> bool
fn eq(&self, other: &AddressHeader) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AddressHeader) -> bool
fn ne(&self, other: &AddressHeader) -> bool
This method tests for !=
.
impl Eq for AddressHeader
impl StructuralEq for AddressHeader
impl StructuralPartialEq for AddressHeader
Auto Trait Implementations
impl RefUnwindSafe for AddressHeader
impl Send for AddressHeader
impl Sync for AddressHeader
impl Unpin for AddressHeader
impl UnwindSafe for AddressHeader
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