pub enum GenlId {
Ctrl,
VfsDquot,
Pmcraid,
UnrecognizedConst(u16),
}
Expand description
Values for nl_type
in Nlmsghdr
Variants§
Implementations§
Trait Implementations§
Source§impl From<GenlId> for NlTypeWrapper
impl From<GenlId> for NlTypeWrapper
Source§impl Ord for GenlId
impl Ord for GenlId
Source§impl PartialOrd for GenlId
impl PartialOrd for GenlId
Source§impl Size for GenlId
impl Size for GenlId
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.
impl Copy for GenlId
impl Eq for GenlId
impl NlType for GenlId
impl StructuralPartialEq for GenlId
Auto Trait Implementations§
impl Freeze for GenlId
impl RefUnwindSafe for GenlId
impl Send for GenlId
impl Sync for GenlId
impl Unpin for GenlId
impl UnwindSafe for GenlId
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