pub struct PushNlmsghdr { /* private fields */ }Implementations§
Source§impl PushNlmsghdr
impl PushNlmsghdr
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 get_len(&self) -> u32
pub fn set_len(&mut self, value: u32)
pub fn get_type(&self) -> u16
pub fn set_type(&mut self, value: u16)
pub fn flags(&self) -> u16
pub fn set_flags(&mut self, value: u16)
pub fn seq(&self) -> u32
pub fn set_seq(&mut self, value: u32)
pub fn pid(&self) -> u32
pub fn set_pid(&mut self, value: u32)
Trait Implementations§
Source§impl Clone for PushNlmsghdr
impl Clone for PushNlmsghdr
Source§fn clone(&self) -> PushNlmsghdr
fn clone(&self) -> PushNlmsghdr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushNlmsghdr
impl Debug for PushNlmsghdr
Auto Trait Implementations§
impl Freeze for PushNlmsghdr
impl RefUnwindSafe for PushNlmsghdr
impl Send for PushNlmsghdr
impl Sync for PushNlmsghdr
impl Unpin for PushNlmsghdr
impl UnwindSafe for PushNlmsghdr
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