Struct nlmsghdr
#[repr(C)]
pub struct nlmsghdr { pub nlmsg_len: u32, pub nlmsg_type: u16, pub nlmsg_flags: u16, pub nlmsg_seq: u32, pub nlmsg_pid: u32 }
Fields
nlmsg_len: u32nlmsg_type: u16nlmsg_flags: u16nlmsg_seq: u32nlmsg_pid: u32
Trait Implementations
impl Clone for nlmsghdr
fn clone(&self) -> nlmsghdr
impl Copy for nlmsghdr
impl Debug for nlmsghdr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for nlmsghdr
impl Hash for nlmsghdr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for nlmsghdr
fn eq(&self, other: &nlmsghdr) -> bool
impl StructuralPartialEq for nlmsghdr
Auto Trait Implementations
impl Freeze for nlmsghdr
impl RefUnwindSafe for nlmsghdr
impl Send for nlmsghdr
impl Sync for nlmsghdr
impl Unpin for nlmsghdr
impl UnsafeUnpin for nlmsghdr
impl UnwindSafe for nlmsghdr
Blanket Implementations
impl<T> Any for nlmsghdr
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for nlmsghdr
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for nlmsghdr
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for nlmsghdr
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for nlmsghdr
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for nlmsghdr
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for nlmsghdr
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for nlmsghdr
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>