Struct linux_raw_sys::netlink::rtmsg
source · #[repr(C)]pub struct rtmsg {
pub rtm_family: c_uchar,
pub rtm_dst_len: c_uchar,
pub rtm_src_len: c_uchar,
pub rtm_tos: c_uchar,
pub rtm_table: c_uchar,
pub rtm_protocol: c_uchar,
pub rtm_scope: c_uchar,
pub rtm_type: c_uchar,
pub rtm_flags: c_uint,
}
Fields§
§rtm_family: c_uchar
§rtm_dst_len: c_uchar
§rtm_src_len: c_uchar
§rtm_tos: c_uchar
§rtm_table: c_uchar
§rtm_protocol: c_uchar
§rtm_scope: c_uchar
§rtm_type: c_uchar
§rtm_flags: c_uint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for rtmsg
impl RefUnwindSafe for rtmsg
impl Send for rtmsg
impl Sync for rtmsg
impl Unpin for rtmsg
impl UnwindSafe for rtmsg
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
)