Struct netlink_packet_route::tc::TcStatsQueue
source · #[non_exhaustive]pub struct TcStatsQueue {
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 TcStatsQueue
impl Clone for TcStatsQueue
source§fn clone(&self) -> TcStatsQueue
fn clone(&self) -> TcStatsQueue
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 TcStatsQueue
impl Debug for TcStatsQueue
source§impl Default for TcStatsQueue
impl Default for TcStatsQueue
source§fn default() -> TcStatsQueue
fn default() -> TcStatsQueue
Returns the “default value” for a type. Read more
source§impl Emitable for TcStatsQueue
impl Emitable for TcStatsQueue
source§impl<T: AsRef<[u8]>> Parseable<TcStatsQueueBuffer<T>> for TcStatsQueue
impl<T: AsRef<[u8]>> Parseable<TcStatsQueueBuffer<T>> for TcStatsQueue
source§fn parse(buf: &TcStatsQueueBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcStatsQueueBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for TcStatsQueue
impl PartialEq for TcStatsQueue
impl Copy for TcStatsQueue
impl Eq for TcStatsQueue
impl StructuralPartialEq for TcStatsQueue
Auto Trait Implementations§
impl Freeze for TcStatsQueue
impl RefUnwindSafe for TcStatsQueue
impl Send for TcStatsQueue
impl Sync for TcStatsQueue
impl Unpin for TcStatsQueue
impl UnwindSafe for TcStatsQueue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)