pub struct OpNewtclassDo<'r> { /* private fields */ }Available on crate feature
tc only.Expand description
Get / dump tc traffic class information.
Request attributes:
- .push_kind()
- .nested_options_basic()
- .nested_options_bpf()
- .nested_options_bfifo()
- .nested_options_cake()
- .nested_options_cbs()
- .nested_options_cgroup()
- .nested_options_choke()
- .nested_options_clsact()
- .nested_options_codel()
- .nested_options_drr()
- .nested_options_dualpi2()
- .nested_options_etf()
- .nested_options_ets()
- .nested_options_flow()
- .nested_options_flower()
- .nested_options_fq()
- .nested_options_fq_codel()
- .nested_options_fq_pie()
- .nested_options_fw()
- .nested_options_gred()
- .nested_options_hfsc()
- .nested_options_hhf()
- .nested_options_htb()
- .nested_options_ingress()
- .nested_options_matchall()
- .nested_options_mq()
- .nested_options_mqprio()
- .nested_options_multiq()
- .nested_options_netem()
- .nested_options_pfifo()
- .nested_options_pfifo_fast()
- .nested_options_pfifo_head_drop()
- .nested_options_pie()
- .nested_options_plug()
- .nested_options_prio()
- .nested_options_qfq()
- .nested_options_red()
- .nested_options_route()
- .nested_options_sfb()
- .nested_options_sfq()
- .nested_options_taprio()
- .nested_options_tbf()
- .nested_options_u32()
- .push_rate()
- .push_chain()
- .push_ingress_block()
- .push_egress_block()
Implementations§
Source§impl<'r> OpNewtclassDo<'r>
impl<'r> OpNewtclassDo<'r>
pub fn new(request: Request<'r>, header: &Tcmsg) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, header: &Tcmsg, ) -> PushAttrs<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushAttrs<&mut Vec<u8>>
pub fn into_encoder(self) -> PushAttrs<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> (Tcmsg, IterableAttrs<'a>)
Trait Implementations§
Source§impl<'r> Debug for OpNewtclassDo<'r>
impl<'r> Debug for OpNewtclassDo<'r>
Source§impl NetlinkRequest for OpNewtclassDo<'_>
impl NetlinkRequest for OpNewtclassDo<'_>
type ReplyType<'buf> = (Tcmsg, IterableAttrs<'buf>)
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpNewtclassDo<'r>
impl<'r> Freeze for OpNewtclassDo<'r>
impl<'r> RefUnwindSafe for OpNewtclassDo<'r>
impl<'r> Send for OpNewtclassDo<'r>
impl<'r> Sync for OpNewtclassDo<'r>
impl<'r> Unpin for OpNewtclassDo<'r>
impl<'r> UnsafeUnpin for OpNewtclassDo<'r>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more