pub struct PushNdmsg { /* private fields */ }Available on crate feature
rt-neigh only.Implementations§
Source§impl PushNdmsg
impl PushNdmsg
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 ndm_family(&self) -> u8
pub fn set_ndm_family(&mut self, value: u8)
pub fn ndm_ifindex(&self) -> i32
pub fn set_ndm_ifindex(&mut self, value: i32)
Sourcepub fn set_ndm_state(&mut self, value: u16)
pub fn set_ndm_state(&mut self, value: u16)
Associated type: “NudState” (enum)
Sourcepub fn set_ndm_flags(&mut self, value: u8)
pub fn set_ndm_flags(&mut self, value: u8)
Associated type: “NtfFlags” (enum)
Sourcepub fn set_ndm_type(&mut self, value: u8)
pub fn set_ndm_type(&mut self, value: u8)
Associated type: “RtmType” (enum)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushNdmsg
impl RefUnwindSafe for PushNdmsg
impl Send for PushNdmsg
impl Sync for PushNdmsg
impl Unpin for PushNdmsg
impl UnwindSafe for PushNdmsg
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