pub struct OpGetstatsDo<'r> { /* private fields */ }Available on crate feature
rt-link only.Expand description
Get / dump link stats.
Reply attributes:
Implementations§
Source§impl<'r> OpGetstatsDo<'r>
impl<'r> OpGetstatsDo<'r>
pub fn new(request: Request<'r>, header: &IfStatsMsg) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, header: &IfStatsMsg, ) -> PushStatsAttrs<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushStatsAttrs<&mut Vec<u8>>
pub fn into_encoder(self) -> PushStatsAttrs<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> (IfStatsMsg, IterableStatsAttrs<'a>)
Trait Implementations§
Source§impl<'r> Debug for OpGetstatsDo<'r>
impl<'r> Debug for OpGetstatsDo<'r>
Source§impl NetlinkRequest for OpGetstatsDo<'_>
impl NetlinkRequest for OpGetstatsDo<'_>
type ReplyType<'buf> = (IfStatsMsg, IterableStatsAttrs<'buf>)
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpGetstatsDo<'r>
impl<'r> Freeze for OpGetstatsDo<'r>
impl<'r> RefUnwindSafe for OpGetstatsDo<'r>
impl<'r> Send for OpGetstatsDo<'r>
impl<'r> Sync for OpGetstatsDo<'r>
impl<'r> Unpin for OpGetstatsDo<'r>
impl<'r> UnsafeUnpin for OpGetstatsDo<'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