pub struct PushRtmsg { /* private fields */ }Available on crate feature
rt-route only.Implementations§
Source§impl PushRtmsg
impl PushRtmsg
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn rtm_family(&self) -> u8
pub fn set_rtm_family(&mut self, value: u8)
pub fn rtm_dst_len(&self) -> u8
pub fn set_rtm_dst_len(&mut self, value: u8)
pub fn rtm_src_len(&self) -> u8
pub fn set_rtm_src_len(&mut self, value: u8)
pub fn rtm_tos(&self) -> u8
pub fn set_rtm_tos(&mut self, value: u8)
pub fn rtm_table(&self) -> u8
pub fn set_rtm_table(&mut self, value: u8)
pub fn rtm_protocol(&self) -> u8
pub fn set_rtm_protocol(&mut self, value: u8)
pub fn rtm_scope(&self) -> u8
pub fn set_rtm_scope(&mut self, value: u8)
Sourcepub fn set_rtm_type(&mut self, value: u8)
pub fn set_rtm_type(&mut self, value: u8)
Associated type: “RtmType” (enum)
pub fn rtm_flags(&self) -> u32
pub fn set_rtm_flags(&mut self, value: u32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushRtmsg
impl RefUnwindSafe for PushRtmsg
impl Send for PushRtmsg
impl Sync for PushRtmsg
impl Unpin for PushRtmsg
impl UnwindSafe for PushRtmsg
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