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: u32
queue length
backlog: u32
backlog size of queue
drops: u32
number of dropped packets
requeues: u32
number of requeues
overlimits: u32
number 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 ==
.impl Copy for StatsQueue
impl Eq for StatsQueue
impl StructuralEq for StatsQueue
impl StructuralPartialEq for StatsQueue
Auto Trait Implementations§
impl RefUnwindSafe for StatsQueue
impl Send for StatsQueue
impl Sync for StatsQueue
impl Unpin for StatsQueue
impl UnwindSafe for StatsQueue
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