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