Struct netlink_packet_route::rtnl::tc::nlas::StatsQueue
source · #[non_exhaustive]pub struct StatsQueue {
pub qlen: u32,
pub backlog: u32,
pub drops: u32,
pub requeues: u32,
pub overlimits: u32,
}Expand description
Queuing statistics
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.qlen: u32queue length
backlog: u32backlog size of queue
drops: u32number of dropped packets
requeues: u32number of requeues
overlimits: u32number of enqueues over the limit
Trait Implementations§
source§impl Clone for StatsQueue
impl Clone for StatsQueue
source§fn clone(&self) -> StatsQueue
fn clone(&self) -> StatsQueue
Returns a copy 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 moresource§impl Debug for StatsQueue
impl Debug for StatsQueue
source§impl Emitable for StatsQueue
impl Emitable for StatsQueue
source§impl<T: AsRef<[u8]>> Parseable<StatsQueueBuffer<T>> for StatsQueue
impl<T: AsRef<[u8]>> Parseable<StatsQueueBuffer<T>> for StatsQueue
source§fn parse(buf: &StatsQueueBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatsQueueBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<StatsQueue> for StatsQueue
impl PartialEq<StatsQueue> for StatsQueue
source§fn eq(&self, other: &StatsQueue) -> bool
fn eq(&self, other: &StatsQueue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.