pub enum OpQstatsGetDumpRequest {
Ifindex(u32),
Scope(u32),
}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.
Variants§
Ifindex(u32)
ifindex of the netdevice to which stats belong.
Scope(u32)
What object type should be used to iterate over the stats.
Associated type: “QstatsScope” (enum)
Implementations§
Source§impl OpQstatsGetDumpRequest
impl OpQstatsGetDumpRequest
pub fn new<'a>(buf: &'a [u8]) -> IterableOpQstatsGetDumpRequest<'a> ⓘ
Trait Implementations§
Source§impl Clone for OpQstatsGetDumpRequest
impl Clone for OpQstatsGetDumpRequest
Source§fn clone(&self) -> OpQstatsGetDumpRequest
fn clone(&self) -> OpQstatsGetDumpRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OpQstatsGetDumpRequest
impl RefUnwindSafe for OpQstatsGetDumpRequest
impl Send for OpQstatsGetDumpRequest
impl Sync for OpQstatsGetDumpRequest
impl Unpin for OpQstatsGetDumpRequest
impl UnwindSafe for OpQstatsGetDumpRequest
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