Struct netlink_packet_route::address::AddressHeader
source · pub struct AddressHeader {
pub family: AddressFamily,
pub prefix_len: u8,
pub flags: AddressHeaderFlags,
pub scope: AddressScope,
pub index: u32,
}
Fields§
§family: AddressFamily
§prefix_len: u8
§flags: AddressHeaderFlags
§scope: AddressScope
§index: u32
Trait Implementations§
source§impl Clone for AddressHeader
impl Clone for AddressHeader
source§fn clone(&self) -> AddressHeader
fn clone(&self) -> AddressHeader
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 AddressHeader
impl Debug for AddressHeader
source§impl Default for AddressHeader
impl Default for AddressHeader
source§fn default() -> AddressHeader
fn default() -> AddressHeader
Returns the “default value” for a type. Read more
source§impl Emitable for AddressHeader
impl Emitable for AddressHeader
source§impl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
impl<T: AsRef<[u8]>> Parseable<AddressMessageBuffer<T>> for AddressHeader
source§fn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &AddressMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for AddressHeader
impl PartialEq for AddressHeader
impl Eq for AddressHeader
impl StructuralPartialEq for AddressHeader
Auto Trait Implementations§
impl Freeze for AddressHeader
impl RefUnwindSafe for AddressHeader
impl Send for AddressHeader
impl Sync for AddressHeader
impl Unpin for AddressHeader
impl UnwindSafe for AddressHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)