Enum neli::consts::genl::NlAttrTypeWrapper [−][src]
pub enum NlAttrTypeWrapper {
CtrlAttr(CtrlAttr),
CtrlAttrMcastGrp(CtrlAttrMcastGrp),
NfLogAttr(NfLogAttr),
NfLogCfg(NfLogCfg),
Index(Index),
UnrecognizedConst(u16),
}
Expand description
Wrapper that is usable with all values in the
Nlattr
field, nla_type
.
Variants
CtrlAttr(CtrlAttr)
Tuple Fields of CtrlAttr
0: CtrlAttr
CtrlAttrMcastGrp(CtrlAttrMcastGrp)
Tuple Fields of CtrlAttrMcastGrp
NfLogAttr(NfLogAttr)
Tuple Fields of NfLogAttr
0: NfLogAttr
NfLogCfg(NfLogCfg)
Tuple Fields of NfLogCfg
0: NfLogCfg
Index(Index)
Tuple Fields of Index
0: Index
UnrecognizedConst(u16)
Constant could not be parsed into a type
Tuple Fields of UnrecognizedConst
0: u16
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NlAttrTypeWrapper
impl Send for NlAttrTypeWrapper
impl Sync for NlAttrTypeWrapper
impl Unpin for NlAttrTypeWrapper
impl UnwindSafe for NlAttrTypeWrapper
Blanket Implementations
Mutably borrows from an owned value. Read more