pub struct PushLinkinfoAttrs<Prev: Pusher> { /* private fields */ }rt-link only.Implementations§
Source§impl<Prev: Pusher> PushLinkinfoAttrs<Prev>
impl<Prev: Pusher> PushLinkinfoAttrs<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_data_bond(self) -> PushLinkinfoBondAttrs<PushDummy<Prev>>
pub fn nested_data_bond(self) -> PushLinkinfoBondAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_bridge(self) -> PushLinkinfoBridgeAttrs<PushDummy<Prev>>
pub fn nested_data_bridge(self) -> PushLinkinfoBridgeAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_erspan(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
pub fn nested_data_erspan(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_gre(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
pub fn nested_data_gre(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_gretap(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
pub fn nested_data_gretap(self) -> PushLinkinfoGreAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_ip6gre(self) -> PushLinkinfoGre6Attrs<PushDummy<Prev>>
pub fn nested_data_ip6gre(self) -> PushLinkinfoGre6Attrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_geneve(self) -> PushLinkinfoGeneveAttrs<PushDummy<Prev>>
pub fn nested_data_geneve(self) -> PushLinkinfoGeneveAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_hsr(self) -> PushLinkinfoHsrAttrs<PushDummy<Prev>>
pub fn nested_data_hsr(self) -> PushLinkinfoHsrAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_ipip(self) -> PushLinkinfoIptunAttrs<PushDummy<Prev>>
pub fn nested_data_ipip(self) -> PushLinkinfoIptunAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_ip6tnl(self) -> PushLinkinfoIp6tnlAttrs<PushDummy<Prev>>
pub fn nested_data_ip6tnl(self) -> PushLinkinfoIp6tnlAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_sit(self) -> PushLinkinfoIptunAttrs<PushDummy<Prev>>
pub fn nested_data_sit(self) -> PushLinkinfoIptunAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_tun(self) -> PushLinkinfoTunAttrs<PushDummy<Prev>>
pub fn nested_data_tun(self) -> PushLinkinfoTunAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_vlan(self) -> PushLinkinfoVlanAttrs<PushDummy<Prev>>
pub fn nested_data_vlan(self) -> PushLinkinfoVlanAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_vrf(self) -> PushLinkinfoVrfAttrs<PushDummy<Prev>>
pub fn nested_data_vrf(self) -> PushLinkinfoVrfAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_vti(self) -> PushLinkinfoVtiAttrs<PushDummy<Prev>>
pub fn nested_data_vti(self) -> PushLinkinfoVtiAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_vti6(self) -> PushLinkinfoVti6Attrs<PushDummy<Prev>>
pub fn nested_data_vti6(self) -> PushLinkinfoVti6Attrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_netkit(self) -> PushLinkinfoNetkitAttrs<PushDummy<Prev>>
pub fn nested_data_netkit(self) -> PushLinkinfoNetkitAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_data_ovpn(self) -> PushLinkinfoOvpnAttrs<PushDummy<Prev>>
pub fn nested_data_ovpn(self) -> PushLinkinfoOvpnAttrs<PushDummy<Prev>>
Selector attribute kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
pub fn push_xstats(self, value: &[u8]) -> Self
pub fn push_slave_kind(self, value: &CStr) -> Self
pub fn push_slave_kind_bytes(self, value: &[u8]) -> Self
Sourcepub fn nested_slave_data_bridge(
self,
) -> PushLinkinfoBrportAttrs<PushDummy<Prev>>
pub fn nested_slave_data_bridge( self, ) -> PushLinkinfoBrportAttrs<PushDummy<Prev>>
Selector attribute slave-kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.
Sourcepub fn nested_slave_data_bond(self) -> PushBondSlaveAttrs<PushDummy<Prev>>
pub fn nested_slave_data_bond(self) -> PushBondSlaveAttrs<PushDummy<Prev>>
Selector attribute slave-kind is inserted automatically.
At most one sub-message attribute is expected per attribute set.