pub enum Congestion {
Cubic,
NewReno,
Bbr,
}Expand description
A QUIC congestion controller, as quinn implements them.
Variants§
Cubic
CUBIC (RFC 9438), quinn’s default: loss-based.
NewReno
NewReno (RFC 9002 §7): loss-based, the conservative baseline.
Bbr
BBR: model-based, reacts to delay rather than waiting for loss.
quinn marks its implementation experimental.
Trait Implementations§
Source§impl Clone for Congestion
impl Clone for Congestion
impl Copy for Congestion
Source§impl Debug for Congestion
impl Debug for Congestion
Source§impl Default for Congestion
impl Default for Congestion
impl Eq for Congestion
Source§impl PartialEq for Congestion
impl PartialEq for Congestion
impl StructuralPartialEq for Congestion
Auto Trait Implementations§
impl Forget for Congestion
impl Freeze for Congestion
impl Move 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