pub struct Bbr3Config { /* private fields */ }Expand description
Configuration for the Bbr3 congestion controller
Different pacing_gains can be set to modify the multiplier used to
increase the sending rates.
Different cwnd_gains can be set to modify the multiplier used to increase
the congestion windows.
All of these parameters are specific to different states of the algorithm: see BbrState
pacing_margin_percent is used to set a margin when calculating the pacing_rate in order
to not send at 100% capacity when calculating pacing.
Implementations§
Source§impl Bbr3Config
impl Bbr3Config
Sourcepub fn initial_window(&mut self, value: u64) -> &mut Self
pub fn initial_window(&mut self, value: u64) -> &mut Self
Default limit on the amount of outstanding data in bytes.
Recommended value: min(10 * max_datagram_size, max(2 * max_datagram_size, 14720))
Trait Implementations§
Source§impl Clone for Bbr3Config
impl Clone for Bbr3Config
Source§fn clone(&self) -> Bbr3Config
fn clone(&self) -> Bbr3Config
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 ControllerFactory for Bbr3Config
impl ControllerFactory for Bbr3Config
Source§impl Debug for Bbr3Config
impl Debug for Bbr3Config
Auto Trait Implementations§
impl Freeze for Bbr3Config
impl RefUnwindSafe for Bbr3Config
impl Send for Bbr3Config
impl Sync for Bbr3Config
impl Unpin for Bbr3Config
impl UnwindSafe for Bbr3Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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