pub enum Congestion {
Bbr,
Cubic,
}Variants§
Bbr
Model-based; keeps the modem queue shallow. The default for media.
Cubic
Loss-based; selectable for A/B on netem.
Trait Implementations§
Source§impl Clone for Congestion
impl Clone for Congestion
Source§fn clone(&self) -> Congestion
fn clone(&self) -> Congestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Congestion
Source§impl Debug for Congestion
impl Debug for Congestion
impl Eq for Congestion
Source§impl PartialEq for Congestion
impl PartialEq for Congestion
Source§fn eq(&self, other: &Congestion) -> bool
fn eq(&self, other: &Congestion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Congestion
Auto Trait Implementations§
impl Freeze for Congestion
impl RefUnwindSafe for Congestion
impl Send for Congestion
impl Sync for Congestion
impl Unpin for Congestion
impl UnsafeUnpin for Congestion
impl UnwindSafe for Congestion
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