pub enum QuicCongestionControlAlgorithm {
Reno = 0,
CUBIC = 1,
BBR = 2,
BBR2 = 3,
}Variants§
Reno = 0
Reno congestion control algorithm. reno in a string form.
CUBIC = 1
CUBIC congestion control algorithm (default). cubic in a string form.
BBR = 2
BBR congestion control algorithm. bbr in a string form.
BBR2 = 3
BBRv2 congestion control algorithm. bbr2 in a string form.
Trait Implementations§
Source§impl Clone for QuicCongestionControlAlgorithm
impl Clone for QuicCongestionControlAlgorithm
Source§fn clone(&self) -> QuicCongestionControlAlgorithm
fn clone(&self) -> QuicCongestionControlAlgorithm
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 moreSource§impl From<QuicCongestionControlAlgorithm> for CongestionControlAlgorithm
impl From<QuicCongestionControlAlgorithm> for CongestionControlAlgorithm
Source§fn from(value: QuicCongestionControlAlgorithm) -> Self
fn from(value: QuicCongestionControlAlgorithm) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuicCongestionControlAlgorithm
impl RefUnwindSafe for QuicCongestionControlAlgorithm
impl Send for QuicCongestionControlAlgorithm
impl Sync for QuicCongestionControlAlgorithm
impl Unpin for QuicCongestionControlAlgorithm
impl UnsafeUnpin for QuicCongestionControlAlgorithm
impl UnwindSafe for QuicCongestionControlAlgorithm
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more