Struct netlink_packet_route::tc::TcFqCodelQdStats
source · #[non_exhaustive]pub struct TcFqCodelQdStats {
pub maxpacket: u32,
pub drop_overlimit: u32,
pub ecn_mark: u32,
pub new_flow_count: u32,
pub new_flows_len: u32,
pub old_flows_len: u32,
pub ce_mark: u32,
pub memory_usage: u32,
pub drop_overmemory: u32,
}
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.maxpacket: u32
§drop_overlimit: u32
§ecn_mark: u32
§new_flow_count: u32
§new_flows_len: u32
§old_flows_len: u32
§ce_mark: u32
§memory_usage: u32
§drop_overmemory: u32
Trait Implementations§
source§impl Clone for TcFqCodelQdStats
impl Clone for TcFqCodelQdStats
source§fn clone(&self) -> TcFqCodelQdStats
fn clone(&self) -> TcFqCodelQdStats
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 TcFqCodelQdStats
impl Debug for TcFqCodelQdStats
source§impl Default for TcFqCodelQdStats
impl Default for TcFqCodelQdStats
source§fn default() -> TcFqCodelQdStats
fn default() -> TcFqCodelQdStats
Returns the “default value” for a type. Read more
source§impl Emitable for TcFqCodelQdStats
impl Emitable for TcFqCodelQdStats
source§impl<T: AsRef<[u8]>> Parseable<TcFqCodelQdStatsBuffer<T>> for TcFqCodelQdStats
impl<T: AsRef<[u8]>> Parseable<TcFqCodelQdStatsBuffer<T>> for TcFqCodelQdStats
source§fn parse(buf: &TcFqCodelQdStatsBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcFqCodelQdStatsBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for TcFqCodelQdStats
impl PartialEq for TcFqCodelQdStats
source§fn eq(&self, other: &TcFqCodelQdStats) -> bool
fn eq(&self, other: &TcFqCodelQdStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TcFqCodelQdStats
impl Eq for TcFqCodelQdStats
impl StructuralPartialEq for TcFqCodelQdStats
Auto Trait Implementations§
impl RefUnwindSafe for TcFqCodelQdStats
impl Send for TcFqCodelQdStats
impl Sync for TcFqCodelQdStats
impl Unpin for TcFqCodelQdStats
impl UnwindSafe for TcFqCodelQdStats
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