pub enum CtrlCmd {
Unspec,
Newfamily,
Delfamily,
Getfamily,
Newops,
Delops,
Getops,
NewmcastGrp,
DelmcastGrp,
GetmcastGrp,
UnrecognizedConst(u8),
}
Expand description
Values for cmd
in Genlmsghdr
.
Variants§
Unspec
Newfamily
Delfamily
Getfamily
Newops
Delops
Getops
NewmcastGrp
DelmcastGrp
GetmcastGrp
UnrecognizedConst(u8)
Implementations§
Trait Implementations§
Source§impl Ord for CtrlCmd
impl Ord for CtrlCmd
Source§impl PartialOrd for CtrlCmd
impl PartialOrd for CtrlCmd
Source§impl Size for CtrlCmd
impl Size for CtrlCmd
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 Cmd for CtrlCmd
impl Copy for CtrlCmd
impl Eq for CtrlCmd
impl StructuralPartialEq for CtrlCmd
Auto Trait Implementations§
impl Freeze for CtrlCmd
impl RefUnwindSafe for CtrlCmd
impl Send for CtrlCmd
impl Sync for CtrlCmd
impl Unpin for CtrlCmd
impl UnwindSafe for CtrlCmd
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