pub struct PushAttrs<Prev: Pusher> { /* private fields */ }tc only.Implementations§
Source§impl<Prev: Pusher> PushAttrs<Prev>
impl<Prev: Pusher> PushAttrs<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_kind(self, value: &CStr) -> Self
pub fn push_kind_bytes(self, value: &[u8]) -> Self
Sourcepub fn nested_options_basic(self) -> PushBasicAttrs<PushDummy<Prev>>
pub fn nested_options_basic(self) -> PushBasicAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_bpf(self) -> PushBpfAttrs<PushDummy<Prev>>
pub fn nested_options_bpf(self) -> PushBpfAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_bfifo(self, fixed_header: &TcFifoQopt) -> Self
pub fn nested_options_bfifo(self, fixed_header: &TcFifoQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cake(self) -> PushCakeAttrs<PushDummy<Prev>>
pub fn nested_options_cake(self) -> PushCakeAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cbs(self) -> PushCbsAttrs<PushDummy<Prev>>
pub fn nested_options_cbs(self) -> PushCbsAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_cgroup(self) -> PushCgroupAttrs<PushDummy<Prev>>
pub fn nested_options_cgroup(self) -> PushCgroupAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_choke(self) -> PushChokeAttrs<PushDummy<Prev>>
pub fn nested_options_choke(self) -> PushChokeAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_clsact(self) -> Self
pub fn nested_options_clsact(self) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_codel(self) -> PushCodelAttrs<PushDummy<Prev>>
pub fn nested_options_codel(self) -> PushCodelAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_drr(self) -> PushDrrAttrs<PushDummy<Prev>>
pub fn nested_options_drr(self) -> PushDrrAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_dualpi2(self) -> PushDualpi2Attrs<PushDummy<Prev>>
pub fn nested_options_dualpi2(self) -> PushDualpi2Attrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_etf(self) -> PushEtfAttrs<PushDummy<Prev>>
pub fn nested_options_etf(self) -> PushEtfAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_ets(self) -> PushEtsAttrs<PushDummy<Prev>>
pub fn nested_options_ets(self) -> PushEtsAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_flow(self) -> PushFlowAttrs<PushDummy<Prev>>
pub fn nested_options_flow(self) -> PushFlowAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_flower(self) -> PushFlowerAttrs<PushDummy<Prev>>
pub fn nested_options_flower(self) -> PushFlowerAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq(self) -> PushFqAttrs<PushDummy<Prev>>
pub fn nested_options_fq(self) -> PushFqAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq_codel(self) -> PushFqCodelAttrs<PushDummy<Prev>>
pub fn nested_options_fq_codel(self) -> PushFqCodelAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fq_pie(self) -> PushFqPieAttrs<PushDummy<Prev>>
pub fn nested_options_fq_pie(self) -> PushFqPieAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_fw(self) -> PushFwAttrs<PushDummy<Prev>>
pub fn nested_options_fw(self) -> PushFwAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_gred(self) -> PushGredAttrs<PushDummy<Prev>>
pub fn nested_options_gred(self) -> PushGredAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_hfsc(self, fixed_header: &TcHfscQopt) -> Self
pub fn nested_options_hfsc(self, fixed_header: &TcHfscQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_hhf(self) -> PushHhfAttrs<PushDummy<Prev>>
pub fn nested_options_hhf(self) -> PushHhfAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_htb(self) -> PushHtbAttrs<PushDummy<Prev>>
pub fn nested_options_htb(self) -> PushHtbAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_ingress(self) -> Self
pub fn nested_options_ingress(self) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_matchall(self) -> PushMatchallAttrs<PushDummy<Prev>>
pub fn nested_options_matchall(self) -> PushMatchallAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_mq(self) -> Self
pub fn nested_options_mq(self) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_mqprio(self, fixed_header: &TcMqprioQopt) -> Self
pub fn nested_options_mqprio(self, fixed_header: &TcMqprioQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_multiq(self, fixed_header: &TcMultiqQopt) -> Self
pub fn nested_options_multiq(self, fixed_header: &TcMultiqQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_netem(
self,
fixed_header: &TcNetemQopt,
) -> PushNetemAttrs<PushDummy<Prev>>
pub fn nested_options_netem( self, fixed_header: &TcNetemQopt, ) -> PushNetemAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo(self, fixed_header: &TcFifoQopt) -> Self
pub fn nested_options_pfifo(self, fixed_header: &TcFifoQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo_fast(self, fixed_header: &TcPrioQopt) -> Self
pub fn nested_options_pfifo_fast(self, fixed_header: &TcPrioQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pfifo_head_drop(self, fixed_header: &TcFifoQopt) -> Self
pub fn nested_options_pfifo_head_drop(self, fixed_header: &TcFifoQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_pie(self) -> PushPieAttrs<PushDummy<Prev>>
pub fn nested_options_pie(self) -> PushPieAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_plug(self, fixed_header: &TcPlugQopt) -> Self
pub fn nested_options_plug(self, fixed_header: &TcPlugQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_prio(self, fixed_header: &TcPrioQopt) -> Self
pub fn nested_options_prio(self, fixed_header: &TcPrioQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_qfq(self) -> PushQfqAttrs<PushDummy<Prev>>
pub fn nested_options_qfq(self) -> PushQfqAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_red(self) -> PushRedAttrs<PushDummy<Prev>>
pub fn nested_options_red(self) -> PushRedAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_route(self) -> PushRouteAttrs<PushDummy<Prev>>
pub fn nested_options_route(self) -> PushRouteAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_sfb(self, fixed_header: &TcSfbQopt) -> Self
pub fn nested_options_sfb(self, fixed_header: &TcSfbQopt) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_sfq(self, fixed_header: &TcSfqQoptV1) -> Self
pub fn nested_options_sfq(self, fixed_header: &TcSfqQoptV1) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_taprio(self) -> PushTaprioAttrs<PushDummy<Prev>>
pub fn nested_options_taprio(self) -> PushTaprioAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_tbf(self) -> PushTbfAttrs<PushDummy<Prev>>
pub fn nested_options_tbf(self) -> PushTbfAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_options_u32(self) -> PushU32Attrs<PushDummy<Prev>>
pub fn nested_options_u32(self) -> PushU32Attrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
pub fn push_stats(self, value: TcStats) -> Self
Sourcepub fn nested_xstats_cake(self) -> PushCakeStatsAttrs<PushDummy<Prev>>
pub fn nested_xstats_cake(self) -> PushCakeStatsAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_choke(self, fixed_header: &TcChokeXstats) -> Self
pub fn nested_xstats_choke(self, fixed_header: &TcChokeXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_codel(self, fixed_header: &TcCodelXstats) -> Self
pub fn nested_xstats_codel(self, fixed_header: &TcCodelXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_dualpi2(self, fixed_header: &TcDualpi2Xstats) -> Self
pub fn nested_xstats_dualpi2(self, fixed_header: &TcDualpi2Xstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_fq(self, fixed_header: &TcFqQdStats) -> Self
pub fn nested_xstats_fq(self, fixed_header: &TcFqQdStats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_fq_codel(self, fixed_header: &TcFqCodelXstats) -> Self
pub fn nested_xstats_fq_codel(self, fixed_header: &TcFqCodelXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_fq_pie(self, fixed_header: &TcFqPieXstats) -> Self
pub fn nested_xstats_fq_pie(self, fixed_header: &TcFqPieXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_hhf(self, fixed_header: &TcHhfXstats) -> Self
pub fn nested_xstats_hhf(self, fixed_header: &TcHhfXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_pie(self, fixed_header: &TcPieXstats) -> Self
pub fn nested_xstats_pie(self, fixed_header: &TcPieXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_red(self, fixed_header: &TcRedXstats) -> Self
pub fn nested_xstats_red(self, fixed_header: &TcRedXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_sfb(self, fixed_header: &TcSfbXstats) -> Self
pub fn nested_xstats_sfb(self, fixed_header: &TcSfbXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_xstats_sfq(self, fixed_header: &TcSfqXstats) -> Self
pub fn nested_xstats_sfq(self, fixed_header: &TcSfqXstats) -> Self
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.