Enum netlink_packet_generic::ctrl::nlas::GenlCtrlAttrs
source · pub enum GenlCtrlAttrs {
FamilyId(u16),
FamilyName(String),
Version(u32),
HdrSize(u32),
MaxAttr(u32),
Ops(Vec<Vec<OpAttrs>>),
McastGroups(Vec<Vec<McastGrpAttrs>>),
Policy(PolicyAttr),
OpPolicy(OppolicyAttr),
Op(u32),
}Variants§
FamilyId(u16)
FamilyName(String)
Version(u32)
HdrSize(u32)
MaxAttr(u32)
Ops(Vec<Vec<OpAttrs>>)
McastGroups(Vec<Vec<McastGrpAttrs>>)
Policy(PolicyAttr)
OpPolicy(OppolicyAttr)
Op(u32)
Trait Implementations§
source§impl Clone for GenlCtrlAttrs
impl Clone for GenlCtrlAttrs
source§fn clone(&self) -> GenlCtrlAttrs
fn clone(&self) -> GenlCtrlAttrs
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 GenlCtrlAttrs
impl Debug for GenlCtrlAttrs
source§impl Nla for GenlCtrlAttrs
impl Nla for GenlCtrlAttrs
source§impl PartialEq<GenlCtrlAttrs> for GenlCtrlAttrs
impl PartialEq<GenlCtrlAttrs> for GenlCtrlAttrs
source§fn eq(&self, other: &GenlCtrlAttrs) -> bool
fn eq(&self, other: &GenlCtrlAttrs) -> bool
This method tests for
self and other values to be equal, and is used
by ==.