pub struct PushExprAttrs<Prev: Rec> { /* private fields */ }nftables only.Implementations§
Source§impl<Prev: Rec> PushExprAttrs<Prev>
impl<Prev: Rec> PushExprAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_name_bytes(self, value: &[u8]) -> Self
pub fn push_name_bytes(self, value: &[u8]) -> Self
name of the expression type
Sourcepub fn nested_data_bitwise(self) -> PushExprBitwiseAttrs<PushDummy<Prev>>
pub fn nested_data_bitwise(self) -> PushExprBitwiseAttrs<PushDummy<Prev>>
type specific data Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_cmp(self) -> PushExprCmpAttrs<PushDummy<Prev>>
pub fn nested_data_cmp(self) -> PushExprCmpAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_counter(self) -> PushExprCounterAttrs<PushDummy<Prev>>
pub fn nested_data_counter(self) -> PushExprCounterAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_ct(self) -> PushExprCtAttrs<PushDummy<Prev>>
pub fn nested_data_ct(self) -> PushExprCtAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_fib(self) -> PushExprFibAttrs<PushDummy<Prev>>
pub fn nested_data_fib(self) -> PushExprFibAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_flow_offload(
self,
) -> PushExprFlowOffloadAttrs<PushDummy<Prev>>
pub fn nested_data_flow_offload( self, ) -> PushExprFlowOffloadAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_immediate(self) -> PushExprImmediateAttrs<PushDummy<Prev>>
pub fn nested_data_immediate(self) -> PushExprImmediateAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_lookup(self) -> PushExprLookupAttrs<PushDummy<Prev>>
pub fn nested_data_lookup(self) -> PushExprLookupAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_meta(self) -> PushExprMetaAttrs<PushDummy<Prev>>
pub fn nested_data_meta(self) -> PushExprMetaAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_nat(self) -> PushExprNatAttrs<PushDummy<Prev>>
pub fn nested_data_nat(self) -> PushExprNatAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_objref(self) -> PushExprObjrefAttrs<PushDummy<Prev>>
pub fn nested_data_objref(self) -> PushExprObjrefAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_payload(self) -> PushExprPayloadAttrs<PushDummy<Prev>>
pub fn nested_data_payload(self) -> PushExprPayloadAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_quota(self) -> PushQuotaAttrs<PushDummy<Prev>>
pub fn nested_data_quota(self) -> PushQuotaAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_reject(self) -> PushExprRejectAttrs<PushDummy<Prev>>
pub fn nested_data_reject(self) -> PushExprRejectAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_target(self) -> PushExprTargetAttrs<PushDummy<Prev>>
pub fn nested_data_target(self) -> PushExprTargetAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_tproxy(self) -> PushExprTproxyAttrs<PushDummy<Prev>>
pub fn nested_data_tproxy(self) -> PushExprTproxyAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_match(self) -> PushCompatMatchAttrs<PushDummy<Prev>>
pub fn nested_data_match(self) -> PushCompatMatchAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_range(self) -> PushRangeAttrs<PushDummy<Prev>>
pub fn nested_data_range(self) -> PushRangeAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_numgen(self) -> PushNumgenAttrs<PushDummy<Prev>>
pub fn nested_data_numgen(self) -> PushNumgenAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_log(self) -> PushLogAttrs<PushDummy<Prev>>
pub fn nested_data_log(self) -> PushLogAttrs<PushDummy<Prev>>
Selector attribute is inserted automatically. At most one sub-message attribute is expected per attribute set.