pub struct StatsQueue {
pub qlen: u32,
pub backlog: u32,
pub drops: u32,
pub requeues: u32,
pub overlimits: u32,
}Expand description
Queuing statistics
Fields§
§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 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 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 for StatsQueue
impl PartialEq for StatsQueue
impl Copy for StatsQueue
impl Eq for StatsQueue
impl StructuralPartialEq for StatsQueue
Auto Trait Implementations§
impl Freeze for StatsQueue
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