pub struct Rtgenmsg {
pub rtgen_family: RtAddrFamily,
}
Expand description
General form of address family dependent message. Used for requesting things from rtnetlink.
Fields§
§rtgen_family: RtAddrFamily
Address family for the request
Trait Implementations§
Source§impl Size for Rtgenmsg
impl Size for Rtgenmsg
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 of the payload and align it to
the required netlink byte alignment.
Auto Trait Implementations§
impl Freeze for Rtgenmsg
impl RefUnwindSafe for Rtgenmsg
impl Send for Rtgenmsg
impl Sync for Rtgenmsg
impl Unpin for Rtgenmsg
impl UnwindSafe for Rtgenmsg
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