pub struct PushOpQstatsGetDumpRequest<Prev: Rec> { /* private fields */ }Available on crate feature
netdev only.Expand description
Get / dump fine grained statistics. Which statistics are reported depends on the device and the driver, and whether the driver stores software counters per-queue.
Implementations§
Source§impl<Prev: Rec> PushOpQstatsGetDumpRequest<Prev>
impl<Prev: Rec> PushOpQstatsGetDumpRequest<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_ifindex(self, value: u32) -> Self
pub fn push_ifindex(self, value: u32) -> Self
ifindex of the netdevice to which stats belong.
Sourcepub fn push_scope(self, value: u32) -> Self
pub fn push_scope(self, value: u32) -> Self
What object type should be used to iterate over the stats.
Associated type: “QstatsScope” (enum)
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushOpQstatsGetDumpRequest<Prev>
impl<Prev: Rec> Drop for PushOpQstatsGetDumpRequest<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushOpQstatsGetDumpRequest<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushOpQstatsGetDumpRequest<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushOpQstatsGetDumpRequest<Prev>where
Prev: Send,
impl<Prev> Sync for PushOpQstatsGetDumpRequest<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushOpQstatsGetDumpRequest<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushOpQstatsGetDumpRequest<Prev>where
Prev: UnwindSafe,
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