pub struct OpDeltclassDo<'r> { /* private fields */ }Available on crate feature
tc only.Expand description
Get / dump tc traffic class information.
Implementations§
Source§impl<'r> OpDeltclassDo<'r>
impl<'r> OpDeltclassDo<'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 OpDeltclassDo<'r>
impl<'r> Debug for OpDeltclassDo<'r>
Source§impl NetlinkRequest for OpDeltclassDo<'_>
impl NetlinkRequest for OpDeltclassDo<'_>
type ReplyType<'buf> = (Tcmsg, IterableAttrs<'buf>)
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpDeltclassDo<'r>
impl<'r> Freeze for OpDeltclassDo<'r>
impl<'r> RefUnwindSafe for OpDeltclassDo<'r>
impl<'r> Send for OpDeltclassDo<'r>
impl<'r> Sync for OpDeltclassDo<'r>
impl<'r> Unpin for OpDeltclassDo<'r>
impl<'r> UnsafeUnpin for OpDeltclassDo<'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