pub enum CongestionControl {
Default,
Throughput,
LowLatency,
}Expand description
Congestion control algorithm to use for the connection.
Different algorithms make different tradeoffs between throughput and latency.
Variants§
Default
Use the default congestion control algorithm (typically CUBIC).
Throughput
Optimize for throughput (BBR).
LowLatency
Optimize for low latency (NewReno).
Auto Trait Implementations§
impl Freeze for CongestionControl
impl RefUnwindSafe for CongestionControl
impl Send for CongestionControl
impl Sync for CongestionControl
impl Unpin for CongestionControl
impl UnsafeUnpin for CongestionControl
impl UnwindSafe for CongestionControl
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