pub enum CtrlAttr {
Unspec,
FamilyId,
FamilyName,
Version,
Hdrsize,
Maxattr,
Ops,
McastGroups,
UnrecognizedConst(u16),
}
Expand description
Values for nla_type
in Nlattr
Variants§
Implementations§
Trait Implementations§
Source§impl From<CtrlAttr> for NlAttrTypeWrapper
impl From<CtrlAttr> for NlAttrTypeWrapper
Source§impl Ord for CtrlAttr
impl Ord for CtrlAttr
Source§impl PartialOrd for CtrlAttr
impl PartialOrd for CtrlAttr
Source§impl Size for CtrlAttr
impl Size for CtrlAttr
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 CtrlAttr
impl Eq for CtrlAttr
impl NlAttrType for CtrlAttr
impl StructuralPartialEq for CtrlAttr
Auto Trait Implementations§
impl Freeze for CtrlAttr
impl RefUnwindSafe for CtrlAttr
impl Send for CtrlAttr
impl Sync for CtrlAttr
impl Unpin for CtrlAttr
impl UnwindSafe for CtrlAttr
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