pub struct Ifinfomsg { /* private fields */ }
Expand description
Struct representing interface information messages
Implementations§
Source§impl Ifinfomsg
impl Ifinfomsg
Sourcepub fn ifi_family(&self) -> &RtAddrFamily
pub fn ifi_family(&self) -> &RtAddrFamily
Interface address family
Sourcepub fn ifi_change(&self) -> &Iff
pub fn ifi_change(&self) -> &Iff
Interface change mask
Trait Implementations§
Source§impl FromBytesWithInput for Ifinfomsg
impl FromBytesWithInput for Ifinfomsg
Source§impl Header for Ifinfomsg
impl Header for Ifinfomsg
Source§fn header_size() -> usize
fn header_size() -> usize
Return the size in bytes of the data structure header.
Source§impl Size for Ifinfomsg
impl Size for Ifinfomsg
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of the payload and align it to
the required netlink byte alignment.
Auto Trait Implementations§
impl Freeze for Ifinfomsg
impl RefUnwindSafe for Ifinfomsg
impl Send for Ifinfomsg
impl Sync for Ifinfomsg
impl Unpin for Ifinfomsg
impl UnwindSafe for Ifinfomsg
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