pub struct FqCodelQDisc {
pub target: u32,
pub limit: u32,
pub interval: u32,
pub ecn: u32,
pub flows: u32,
pub quantum: u32,
pub ce_threshold: u32,
pub drop_batch_size: u32,
pub memory_limit: u32,
}Fields§
§target: u32Accceptable minimum standing/persistent queue delay.
limit: u32Hard limit on the real queue size.
interval: u32Used to ensure that the measured minimum delay does not become too stale.
ecn: u32Used to mark packets instead of dropping them.
flows: u32Number of flows into which the incoming packets are classified.
quantum: u32Number of bytes used as ‘deficit’ in the fair queuing algorithm.
ce_threshold: u32Sets a threshold above which all packets are marked with ECN Congestion Experienced.
drop_batch_size: u32Sets the maximum number of packets to drop when limit or memory_limit is exceeded.
memory_limit: u32Sets a limit on the total number of bytes that can be queued in this FQ-CoDel instance.
Trait Implementations§
Source§impl Clone for FqCodelQDisc
impl Clone for FqCodelQDisc
Source§fn clone(&self) -> FqCodelQDisc
fn clone(&self) -> FqCodelQDisc
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 FqCodelQDisc
impl Debug for FqCodelQDisc
Source§impl Default for FqCodelQDisc
impl Default for FqCodelQDisc
Source§fn default() -> FqCodelQDisc
fn default() -> FqCodelQDisc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FqCodelQDisc
impl<'de> Deserialize<'de> for FqCodelQDisc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FqCodelQDisc
impl PartialEq for FqCodelQDisc
Source§impl Serialize for FqCodelQDisc
impl Serialize for FqCodelQDisc
impl StructuralPartialEq for FqCodelQDisc
Auto Trait Implementations§
impl Freeze for FqCodelQDisc
impl RefUnwindSafe for FqCodelQDisc
impl Send for FqCodelQDisc
impl Sync for FqCodelQDisc
impl Unpin for FqCodelQDisc
impl UnwindSafe for FqCodelQDisc
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