pub enum CtrlAttrMcastGrp {
Unspec,
Name,
Id,
UnrecognizedConst(u16),
}
Expand description
Values for nla_type
in Nlattr
Variants§
Implementations§
Source§impl CtrlAttrMcastGrp
impl CtrlAttrMcastGrp
Sourcepub fn is_unrecognized(&self) -> bool
pub fn is_unrecognized(&self) -> bool
Check whether a given method is an unrecognized constant for the set of possible constants associated with the current type.
Trait Implementations§
Source§impl Clone for CtrlAttrMcastGrp
impl Clone for CtrlAttrMcastGrp
Source§fn clone(&self) -> CtrlAttrMcastGrp
fn clone(&self) -> CtrlAttrMcastGrp
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CtrlAttrMcastGrp
impl Debug for CtrlAttrMcastGrp
Source§impl From<&CtrlAttrMcastGrp> for u16
impl From<&CtrlAttrMcastGrp> for u16
Source§fn from(enm: &CtrlAttrMcastGrp) -> Self
fn from(enm: &CtrlAttrMcastGrp) -> Self
Converts to this type from the input type.
Source§impl From<CtrlAttrMcastGrp> for NlAttrTypeWrapper
impl From<CtrlAttrMcastGrp> for NlAttrTypeWrapper
Source§fn from(e: CtrlAttrMcastGrp) -> Self
fn from(e: CtrlAttrMcastGrp) -> Self
Converts to this type from the input type.
Source§impl From<CtrlAttrMcastGrp> for u16
impl From<CtrlAttrMcastGrp> for u16
Source§fn from(enm: CtrlAttrMcastGrp) -> Self
fn from(enm: CtrlAttrMcastGrp) -> Self
Converts to this type from the input type.
Source§impl From<u16> for CtrlAttrMcastGrp
impl From<u16> for CtrlAttrMcastGrp
Source§impl<'lt> FromBytes<'lt> for CtrlAttrMcastGrp
impl<'lt> FromBytes<'lt> for CtrlAttrMcastGrp
Source§impl Hash for CtrlAttrMcastGrp
impl Hash for CtrlAttrMcastGrp
Source§impl Ord for CtrlAttrMcastGrp
impl Ord for CtrlAttrMcastGrp
Source§fn cmp(&self, other: &CtrlAttrMcastGrp) -> Ordering
fn cmp(&self, other: &CtrlAttrMcastGrp) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CtrlAttrMcastGrp
impl PartialEq for CtrlAttrMcastGrp
Source§impl PartialOrd for CtrlAttrMcastGrp
impl PartialOrd for CtrlAttrMcastGrp
Source§impl Size for CtrlAttrMcastGrp
impl Size for CtrlAttrMcastGrp
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.
Source§impl ToBytes for CtrlAttrMcastGrp
impl ToBytes for CtrlAttrMcastGrp
Source§impl TypeSize for CtrlAttrMcastGrp
impl TypeSize for CtrlAttrMcastGrp
impl Copy for CtrlAttrMcastGrp
impl Eq for CtrlAttrMcastGrp
impl NlAttrType for CtrlAttrMcastGrp
impl StructuralPartialEq for CtrlAttrMcastGrp
Auto Trait Implementations§
impl Freeze for CtrlAttrMcastGrp
impl RefUnwindSafe for CtrlAttrMcastGrp
impl Send for CtrlAttrMcastGrp
impl Sync for CtrlAttrMcastGrp
impl Unpin for CtrlAttrMcastGrp
impl UnwindSafe for CtrlAttrMcastGrp
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