Struct libc::genlmsghdr
#[repr(C)]
pub struct genlmsghdr {
pub cmd: u8,
pub version: u8,
pub reserved: u16,
}
Fields
pub cmd: u8
pub version: u8
pub reserved: u16
Trait Implementations
impl Clone for genlmsghdr
fn clone(&Self) -> genlmsghdr
impl Copy for genlmsghdr
impl Debug for genlmsghdr
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for genlmsghdr
impl Hash for genlmsghdr
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<genlmsghdr> for genlmsghdr
fn eq(&Self, other: &genlmsghdr) -> bool
fn ne(&Self, other: &genlmsghdr) -> bool
impl StructuralEq for genlmsghdr
impl StructuralPartialEq for genlmsghdr
Auto Trait Implementations
impl RefUnwindSafe for genlmsghdr
impl Send for genlmsghdr
impl Sync for genlmsghdr
impl Unpin for genlmsghdr
impl UnwindSafe for genlmsghdr
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T